public class Lock extends Object
Constructor and Description |
---|
Lock(Kvrpcpb.LockInfo l,
RequestKeyCodec codec) |
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getKey() |
long |
getLockForUpdateTs() |
Kvrpcpb.Op |
getLockType() |
com.google.protobuf.ByteString |
getPrimary() |
long |
getTtl() |
long |
getTxnID() |
long |
getTxnSize() |
public Lock(Kvrpcpb.LockInfo l, RequestKeyCodec codec)
public long getTxnID()
public long getTtl()
public com.google.protobuf.ByteString getKey()
public com.google.protobuf.ByteString getPrimary()
public long getTxnSize()
public Kvrpcpb.Op getLockType()
public long getLockForUpdateTs()
Copyright © 2024 PingCAP. All rights reserved.