Package | Description |
---|---|
org.tikv.common.exception | |
org.tikv.common.operation | |
org.tikv.kvproto | |
org.tikv.txn |
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.KeyError |
KeyException.getKeyErr() |
Constructor and Description |
---|
KeyException(Kvrpcpb.KeyError keyErr) |
Constructor and Description |
---|
KVErrorHandler(RegionManager regionManager,
RegionErrorReceiver recv,
AbstractLockResolverClient lockResolverClient,
Function<RespT,Errorpb.Error> getRegionError,
Function<RespT,Kvrpcpb.KeyError> getKeyError,
Function<ResolveLockResult,Object> resolveLockResultCallback,
long callerStartTS,
boolean forWrite) |
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.KeyError |
Kvrpcpb.KeyError.Builder.build() |
Kvrpcpb.KeyError |
Kvrpcpb.KeyError.Builder.buildPartial() |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.getDefaultInstance() |
Kvrpcpb.KeyError |
Kvrpcpb.KeyError.getDefaultInstanceForType() |
Kvrpcpb.KeyError |
Kvrpcpb.KeyError.Builder.getDefaultInstanceForType() |
Kvrpcpb.KeyError |
Kvrpcpb.GetResponseOrBuilder.getError()
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.KeyError |
Kvrpcpb.GetResponse.getError()
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.KeyError |
Kvrpcpb.GetResponse.Builder.getError()
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.KeyError |
Kvrpcpb.ScanResponseOrBuilder.getError()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.KeyError |
Kvrpcpb.ScanResponse.getError()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.KeyError |
Kvrpcpb.ScanResponse.Builder.getError()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.KeyError |
Kvrpcpb.TxnHeartBeatResponseOrBuilder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.TxnHeartBeatResponse.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.TxnHeartBeatResponse.Builder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CheckTxnStatusResponseOrBuilder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CheckTxnStatusResponse.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CheckTxnStatusResponse.Builder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CheckSecondaryLocksResponseOrBuilder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CheckSecondaryLocksResponse.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CheckSecondaryLocksResponse.Builder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CommitResponseOrBuilder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CommitResponse.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CommitResponse.Builder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CleanupResponseOrBuilder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CleanupResponse.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.CleanupResponse.Builder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.BatchGetResponseOrBuilder.getError()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.KeyError |
Kvrpcpb.BatchGetResponse.getError()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.KeyError |
Kvrpcpb.BatchGetResponse.Builder.getError()
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.KeyError |
Kvrpcpb.BatchRollbackResponseOrBuilder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.BatchRollbackResponse.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.BatchRollbackResponse.Builder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.ScanLockResponseOrBuilder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.ScanLockResponse.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.ScanLockResponse.Builder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.ResolveLockResponseOrBuilder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.ResolveLockResponse.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.ResolveLockResponse.Builder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.GCResponseOrBuilder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.GCResponse.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.GCResponse.Builder.getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.KvPairOrBuilder.getError()
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.KeyError |
Kvrpcpb.KvPair.getError()
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.KeyError |
Kvrpcpb.KvPair.Builder.getError()
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.KeyError |
Kvrpcpb.PrewriteResponseOrBuilder.getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.PrewriteResponse.getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.PrewriteResponse.Builder.getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.PessimisticLockResponseOrBuilder.getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.PessimisticLockResponse.getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.PessimisticLockResponse.Builder.getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.PessimisticRollbackResponseOrBuilder.getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.PessimisticRollbackResponse.getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyError |
Kvrpcpb.PessimisticRollbackResponse.Builder.getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyError |
Brpb.ErrorOrBuilder.getKvError()
.kvrpcpb.KeyError kv_error = 4; |
Kvrpcpb.KeyError |
Brpb.Error.getKvError()
.kvrpcpb.KeyError kv_error = 4; |
Kvrpcpb.KeyError |
Brpb.Error.Builder.getKvError()
.kvrpcpb.KeyError kv_error = 4; |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseDelimitedFrom(InputStream input) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseFrom(byte[] data) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseFrom(ByteBuffer data) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseFrom(com.google.protobuf.ByteString data) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseFrom(com.google.protobuf.CodedInputStream input) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseFrom(InputStream input) |
static Kvrpcpb.KeyError |
Kvrpcpb.KeyError.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
List<Kvrpcpb.KeyError> |
Kvrpcpb.PrewriteResponseOrBuilder.getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
List<Kvrpcpb.KeyError> |
Kvrpcpb.PrewriteResponse.getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
List<Kvrpcpb.KeyError> |
Kvrpcpb.PrewriteResponse.Builder.getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
List<Kvrpcpb.KeyError> |
Kvrpcpb.PessimisticLockResponseOrBuilder.getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
List<Kvrpcpb.KeyError> |
Kvrpcpb.PessimisticLockResponse.getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
List<Kvrpcpb.KeyError> |
Kvrpcpb.PessimisticLockResponse.Builder.getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
List<Kvrpcpb.KeyError> |
Kvrpcpb.PessimisticRollbackResponseOrBuilder.getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
List<Kvrpcpb.KeyError> |
Kvrpcpb.PessimisticRollbackResponse.getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
List<Kvrpcpb.KeyError> |
Kvrpcpb.PessimisticRollbackResponse.Builder.getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
com.google.protobuf.Parser<Kvrpcpb.KeyError> |
Kvrpcpb.KeyError.getParserForType() |
static com.google.protobuf.Parser<Kvrpcpb.KeyError> |
Kvrpcpb.KeyError.parser() |
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.PrewriteResponse.Builder |
Kvrpcpb.PrewriteResponse.Builder.addErrors(int index,
Kvrpcpb.KeyError value)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.PessimisticLockResponse.Builder |
Kvrpcpb.PessimisticLockResponse.Builder.addErrors(int index,
Kvrpcpb.KeyError value)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.PessimisticRollbackResponse.Builder |
Kvrpcpb.PessimisticRollbackResponse.Builder.addErrors(int index,
Kvrpcpb.KeyError value)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.PrewriteResponse.Builder |
Kvrpcpb.PrewriteResponse.Builder.addErrors(Kvrpcpb.KeyError value)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.PessimisticLockResponse.Builder |
Kvrpcpb.PessimisticLockResponse.Builder.addErrors(Kvrpcpb.KeyError value)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.PessimisticRollbackResponse.Builder |
Kvrpcpb.PessimisticRollbackResponse.Builder.addErrors(Kvrpcpb.KeyError value)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.GetResponse.Builder |
Kvrpcpb.GetResponse.Builder.mergeError(Kvrpcpb.KeyError value)
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.ScanResponse.Builder |
Kvrpcpb.ScanResponse.Builder.mergeError(Kvrpcpb.KeyError value)
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.TxnHeartBeatResponse.Builder |
Kvrpcpb.TxnHeartBeatResponse.Builder.mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
Kvrpcpb.CheckTxnStatusResponse.Builder.mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
Kvrpcpb.CheckSecondaryLocksResponse.Builder.mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CommitResponse.Builder |
Kvrpcpb.CommitResponse.Builder.mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CleanupResponse.Builder |
Kvrpcpb.CleanupResponse.Builder.mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.BatchGetResponse.Builder |
Kvrpcpb.BatchGetResponse.Builder.mergeError(Kvrpcpb.KeyError value)
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.BatchRollbackResponse.Builder |
Kvrpcpb.BatchRollbackResponse.Builder.mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.ScanLockResponse.Builder |
Kvrpcpb.ScanLockResponse.Builder.mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.ResolveLockResponse.Builder |
Kvrpcpb.ResolveLockResponse.Builder.mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.GCResponse.Builder |
Kvrpcpb.GCResponse.Builder.mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KvPair.Builder |
Kvrpcpb.KvPair.Builder.mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.KeyError.Builder |
Kvrpcpb.KeyError.Builder.mergeFrom(Kvrpcpb.KeyError other) |
Brpb.Error.Builder |
Brpb.Error.Builder.mergeKvError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError kv_error = 4; |
static Kvrpcpb.KeyError.Builder |
Kvrpcpb.KeyError.newBuilder(Kvrpcpb.KeyError prototype) |
Kvrpcpb.GetResponse.Builder |
Kvrpcpb.GetResponse.Builder.setError(Kvrpcpb.KeyError value)
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.ScanResponse.Builder |
Kvrpcpb.ScanResponse.Builder.setError(Kvrpcpb.KeyError value)
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.TxnHeartBeatResponse.Builder |
Kvrpcpb.TxnHeartBeatResponse.Builder.setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
Kvrpcpb.CheckTxnStatusResponse.Builder.setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckSecondaryLocksResponse.Builder |
Kvrpcpb.CheckSecondaryLocksResponse.Builder.setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CommitResponse.Builder |
Kvrpcpb.CommitResponse.Builder.setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CleanupResponse.Builder |
Kvrpcpb.CleanupResponse.Builder.setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.BatchGetResponse.Builder |
Kvrpcpb.BatchGetResponse.Builder.setError(Kvrpcpb.KeyError value)
This KeyError exists when some key is locked but we cannot check locks of all keys.
|
Kvrpcpb.BatchRollbackResponse.Builder |
Kvrpcpb.BatchRollbackResponse.Builder.setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.ScanLockResponse.Builder |
Kvrpcpb.ScanLockResponse.Builder.setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.ResolveLockResponse.Builder |
Kvrpcpb.ResolveLockResponse.Builder.setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.GCResponse.Builder |
Kvrpcpb.GCResponse.Builder.setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KvPair.Builder |
Kvrpcpb.KvPair.Builder.setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 1; |
Kvrpcpb.PrewriteResponse.Builder |
Kvrpcpb.PrewriteResponse.Builder.setErrors(int index,
Kvrpcpb.KeyError value)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.PessimisticLockResponse.Builder |
Kvrpcpb.PessimisticLockResponse.Builder.setErrors(int index,
Kvrpcpb.KeyError value)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.PessimisticRollbackResponse.Builder |
Kvrpcpb.PessimisticRollbackResponse.Builder.setErrors(int index,
Kvrpcpb.KeyError value)
repeated .kvrpcpb.KeyError errors = 2; |
Brpb.Error.Builder |
Brpb.Error.Builder.setKvError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError kv_error = 4; |
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.PrewriteResponse.Builder |
Kvrpcpb.PrewriteResponse.Builder.addAllErrors(Iterable<? extends Kvrpcpb.KeyError> values)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.PessimisticLockResponse.Builder |
Kvrpcpb.PessimisticLockResponse.Builder.addAllErrors(Iterable<? extends Kvrpcpb.KeyError> values)
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.PessimisticRollbackResponse.Builder |
Kvrpcpb.PessimisticRollbackResponse.Builder.addAllErrors(Iterable<? extends Kvrpcpb.KeyError> values)
repeated .kvrpcpb.KeyError errors = 2; |
Modifier and Type | Method and Description |
---|---|
static Lock |
AbstractLockResolverClient.extractLockFromKeyErr(Kvrpcpb.KeyError keyError,
RequestKeyCodec codec) |
Copyright © 2024 PingCAP. All rights reserved.