public class OpenTxn extends Object
Modifier and Type | Field and Description |
---|---|
static String |
OPEN_TXNS_INFO_QUERY |
static String |
OPEN_TXNS_QUERY |
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 static final String OPEN_TXNS_QUERY
public static final String OPEN_TXNS_INFO_QUERY
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 © 2022 The Apache Software Foundation. All rights reserved.