Package com.cockroachlabs.crdb.proxy
package com.cockroachlabs.crdb.proxy
The dynamic-proxy engine: the headline feature that makes CockroachDB
anomaly
try/catch disappear.
CrdbProxyFactory reads the annotations
on a target's methods and returns an enhanced instance that transparently
layers circuit breaking, adaptive retry, transactional semantics, and call
context around the original method — using a JDK Proxy
when the target implements an interface, or a ByteBuddy subclass otherwise.
-
ClassDescriptionProduces enhanced instances of annotated targets.ByteBuddy interception target.A call to the original (un-enhanced) method body.