public class TxnStatus extends Object
Constructor and Description |
---|
TxnStatus() |
TxnStatus(long ttl) |
TxnStatus(long ttl,
long commitTS) |
TxnStatus(long ttl,
long commitTS,
Kvrpcpb.Action action) |
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.Action |
getAction() |
long |
getCommitTS() |
long |
getTtl() |
boolean |
isCommitted() |
void |
setAction(Kvrpcpb.Action action) |
void |
setCommitTS(long commitTS) |
void |
setTtl(long ttl) |
public TxnStatus()
public TxnStatus(long ttl)
public TxnStatus(long ttl, long commitTS)
public TxnStatus(long ttl, long commitTS, Kvrpcpb.Action action)
public long getTtl()
public void setTtl(long ttl)
public long getCommitTS()
public void setCommitTS(long commitTS)
public boolean isCommitted()
public Kvrpcpb.Action getAction()
public void setAction(Kvrpcpb.Action action)
Copyright © 2024 PingCAP. All rights reserved.