public class TransactionResult extends Object
| Constructor and Description |
|---|
TransactionResult(String realm,
long startNanos,
Date startDate) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears all fields of this result, allowing it to be reused
|
long |
getCloseDuration() |
long |
getCreated() |
long |
getDeleted() |
Exception |
getFailCause() |
String |
getLogMessage() |
long |
getRead() |
String |
getRealm() |
long |
getStartNanos() |
Date |
getStartTime() |
TransactionState |
getState() |
long |
getTxDuration() |
long |
getUpdated() |
void |
incCreated(long created) |
void |
incDeleted(long deleted) |
void |
incRead(long read) |
void |
incUpdated(long updated) |
void |
setCloseDuration(long closeDuration) |
void |
setCreated(long created) |
void |
setDeleted(long deleted) |
void |
setFailCause(Exception failCause) |
void |
setRead(long read) |
void |
setStartTime(Date startTime) |
void |
setState(TransactionState state) |
void |
setTxDuration(long txDuration) |
void |
setUpdated(long updated) |
public String getRealm()
public TransactionState getState()
public void setState(TransactionState state)
state - the state to setpublic Exception getFailCause()
public void setFailCause(Exception failCause)
failCause - the failCause to setpublic long getStartNanos()
public Date getStartTime()
public void setStartTime(Date startTime)
startTime - the startTime to setpublic long getTxDuration()
public void setTxDuration(long txDuration)
txDuration - the txDuration to setpublic long getCloseDuration()
public void setCloseDuration(long closeDuration)
closeDuration - the closeDuration to setpublic long getCreated()
public void setCreated(long created)
created - the created to setpublic long getRead()
public void setRead(long read)
read - the read to setpublic long getUpdated()
public void setUpdated(long updated)
updated - the updated to setpublic long getDeleted()
public void setDeleted(long deleted)
deleted - the deleted to setpublic void incCreated(long created)
public void incRead(long read)
public void incUpdated(long updated)
public void incDeleted(long deleted)
public String getLogMessage()
public void clear()
Copyright © 2011–2016 Strolch. All rights reserved.