@ThreadSafe public class MSynchronousReadResolver extends java.lang.Object implements KeyedReadResolver
Modifier and Type | Field and Description |
---|---|
static boolean |
DISABLED_ROLLFORWARD |
static MSynchronousReadResolver |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static ReadResolver |
getResolver(Partition region,
TxnSupplier txnSupplier,
RollForwardStatus status) |
static ReadResolver |
getResolver(Partition region,
TxnSupplier txnSupplier,
RollForwardStatus status,
TrafficControl trafficControl,
boolean failOnError) |
boolean |
resolve(Partition region,
ByteSlice rowKey,
long txnId,
TxnSupplier supplier,
RollForwardStatus status,
boolean failOnError,
TrafficControl trafficControl) |
public static final MSynchronousReadResolver INSTANCE
public static volatile boolean DISABLED_ROLLFORWARD
@ThreadSafe public static ReadResolver getResolver(Partition region, TxnSupplier txnSupplier, RollForwardStatus status)
region
- the region for the relevant read resolvertxnSupplier
- a Transaction Supplier for fetching transaction information@ThreadSafe public static ReadResolver getResolver(Partition region, TxnSupplier txnSupplier, RollForwardStatus status, TrafficControl trafficControl, boolean failOnError)
public boolean resolve(Partition region, ByteSlice rowKey, long txnId, TxnSupplier supplier, RollForwardStatus status, boolean failOnError, TrafficControl trafficControl)
resolve
in interface KeyedReadResolver