com.cloudtran.api
Class TxSummary

java.lang.Object
  extended by com.cloudtran.api.TxSummary
All Implemented Interfaces:
Serializable

public class TxSummary
extends Object
implements Serializable

Holds statistical information about the transaction processing feature of Cloudtran. Like: Transaction per second, bytes per second, Db1/2 rows per second... etc.

See Also:
Serialized Form

Constructor Summary
TxSummary()
           
 
Method Summary
 long getAggregateTimeToCommit()
           
 long getAggregateTimeToComplete()
           
 long getBackoffCounter()
           
 Queue<Long> getCommitTimes()
           
 long getLogBytesWritten()
           
 long getStartTime()
           
 long getTimeNow()
           
 long getTxAbortedCounter()
           
 long getTxCommittedCounter()
           
 long getTxCompletedCounter()
           
 long getTxLoggedSoFar()
           
 long getTxPersistedCounter()
           
 long getTxStartedCounter()
           
 void setAggregateTimeToCommit(long aggregateTimeToCommit)
           
 void setAggregateTimeToComplete(long aggregateTimeToComplete)
           
 void setBackoffCounter(long backoffCounter)
           
 void setCommitTimes(Queue<Long> commitTimes)
           
 void setLogBytesWritten(long logBytesWritten)
           
 void setStartTime(long startTime)
           
 void setTimeNow(long timeNow)
           
 void setTxAbortedCounter(long txAbortedCounter)
           
 void setTxCommittedCounter(long txCommittedCounter)
           
 void setTxCompletedCounter(long txCompletedCounter)
           
 void setTxLoggedSoFar(long txLoggedSoFar)
           
 void setTxPersistedCounter(long txPersistedCounter)
           
 void setTxStartedCounter(long txStartedCounter)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TxSummary

public TxSummary()
Method Detail

getTxLoggedSoFar

public long getTxLoggedSoFar()

setTxLoggedSoFar

public void setTxLoggedSoFar(long txLoggedSoFar)

getBackoffCounter

public long getBackoffCounter()

setBackoffCounter

public void setBackoffCounter(long backoffCounter)

getStartTime

public long getStartTime()

setStartTime

public void setStartTime(long startTime)

getTxStartedCounter

public long getTxStartedCounter()

setTxStartedCounter

public void setTxStartedCounter(long txStartedCounter)

getTxPersistedCounter

public long getTxPersistedCounter()

setTxPersistedCounter

public void setTxPersistedCounter(long txPersistedCounter)

getTxCommittedCounter

public long getTxCommittedCounter()

setTxCommittedCounter

public void setTxCommittedCounter(long txCommittedCounter)

getTxCompletedCounter

public long getTxCompletedCounter()

setTxCompletedCounter

public void setTxCompletedCounter(long txCompletedCounter)

getTxAbortedCounter

public long getTxAbortedCounter()

setTxAbortedCounter

public void setTxAbortedCounter(long txAbortedCounter)

getAggregateTimeToCommit

public long getAggregateTimeToCommit()

setAggregateTimeToCommit

public void setAggregateTimeToCommit(long aggregateTimeToCommit)

getAggregateTimeToComplete

public long getAggregateTimeToComplete()

setAggregateTimeToComplete

public void setAggregateTimeToComplete(long aggregateTimeToComplete)

getTimeNow

public long getTimeNow()

getLogBytesWritten

public long getLogBytesWritten()

setLogBytesWritten

public void setLogBytesWritten(long logBytesWritten)

setTimeNow

public void setTimeNow(long timeNow)

getCommitTimes

public Queue<Long> getCommitTimes()

setCommitTimes

public void setCommitTimes(Queue<Long> commitTimes)

toString

public String toString()
Overrides:
toString in class Object