public class OpenTxn extends Object
| Constructor and Description |
|---|
OpenTxn(long txnId,
TxnStatus status,
TxnType type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
long |
getLastHeartBeatTime() |
long |
getStartedTime() |
TxnStatus |
getStatus() |
long |
getTxnId() |
TxnType |
getType() |
String |
getUser() |
void |
setHost(String host) |
void |
setLastHeartBeatTime(long lastHeartBeatTime) |
void |
setStartedTime(long startedTime) |
void |
setStatus(TxnStatus status) |
void |
setTxnId(long txnId) |
void |
setType(TxnType type) |
void |
setUser(String user) |
TxnInfo |
toTxnInfo() |
public TxnInfo toTxnInfo()
public long getTxnId()
public void setTxnId(long txnId)
public TxnStatus getStatus()
public void setStatus(TxnStatus status)
public TxnType getType()
public void setType(TxnType type)
public long getStartedTime()
public void setStartedTime(long startedTime)
public long getLastHeartBeatTime()
public void setLastHeartBeatTime(long lastHeartBeatTime)
public String getUser()
public void setUser(String user)
public String getHost()
public void setHost(String host)
Copyright © 2024 The Apache Software Foundation. All rights reserved.