public class LockResolverClientV4 extends AbstractRegionStoreClient implements AbstractLockResolverClient
codec, region, regionManager, SEEK_LEADER_STORE_DURATION, SEEK_PROXY_STORE_DURATION, store
asyncStub, blockingStub, channelFactory, conf, timeout
BIG_TXN_THRESHOLD, RESOLVED_TXN_CACHE_SIZE
Constructor and Description |
---|
LockResolverClientV4(TiConfiguration conf,
TiRegion region,
TiStore store,
TikvGrpc.TikvBlockingStub blockingStub,
TikvGrpc.TikvFutureStub asyncStub,
ChannelFactory channelFactory,
RegionManager regionManager,
PDClient pdClient,
RegionStoreClient.RegionStoreClientBuilder clientBuilder) |
Modifier and Type | Method and Description |
---|---|
String |
getVersion() |
ResolveLockResult |
resolveLocks(BackOffer bo,
long callerStartTS,
List<Lock> locks,
boolean forWrite)
ResolveLocks tries to resolve Locks.
|
close, getAsyncStub, getBlockingStub, getRegion, makeContext, makeContext, makeContext, makeContext, onNotLeader, onStoreUnreachable
callAsyncWithRetry, callServerStreamingWithRetry, callWithRetry, checkHealth, getConf, getTimeout, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
extractLockFromKeyErr, getInstance
public LockResolverClientV4(TiConfiguration conf, TiRegion region, TiStore store, TikvGrpc.TikvBlockingStub blockingStub, TikvGrpc.TikvFutureStub asyncStub, ChannelFactory channelFactory, RegionManager regionManager, PDClient pdClient, RegionStoreClient.RegionStoreClientBuilder clientBuilder)
public String getVersion()
getVersion
in interface AbstractLockResolverClient
public ResolveLockResult resolveLocks(BackOffer bo, long callerStartTS, List<Lock> locks, boolean forWrite)
AbstractLockResolverClient
resolveLocks
in interface AbstractLockResolverClient
Copyright © 2024 PingCAP. All rights reserved.