core 0.1.1 API
Packages
Package
Description
CockroachDB pure-Java library — a framework-free, annotation-driven toolkit
that makes CockroachDB anomaly handling (serialization-conflict retries,
circuit breaking) disappear behind runtime dynamic proxies.
Runtime annotations that drive CockroachDB-aware behavior through the
dynamic-proxy engine.Typed, exhaustive modelling of CockroachDB failure modes.
A thread-safe circuit breaker that fast-fails calls after repeated failures.
Library-wide configuration records.
Virtual-thread-safe call context (region, vCluster, workload, follower-read
staleness) carried via Java's
ScopedValue — not
ThreadLocal — so it propagates correctly across structured concurrency
and virtual threads.Lightweight observability hooks.
The dynamic-proxy engine: the headline feature that makes CockroachDB
anomaly
try/catch disappear.Adaptive, contention-aware retry for CockroachDB serialization anomalies.
Service-provider interfaces and value types for the Cockroach Continuum
surfaces exposed through
Crdb.Programmatic transaction execution with adaptive retry and follower-read
support — the always-available functional core of the library.
The Cockroach vCluster entry point returned by
Crdb.vcluster(String).