public class DBstatus extends Object
| Constructor and Description |
|---|
DBstatus(int activeTrCount,
int activeTrTime,
int activeTrTotalTime)
Constructor for datbase active write operations status.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getTrCount()
Get the number of active transactions.
|
int |
getTrTimeInMs()
Get the average time for a active transaction in milliseconds
|
int |
getTrTotalTimeInMs()
Get the Total time for all the transactions.
|
public DBstatus(int activeTrCount,
int activeTrTime,
int activeTrTotalTime)
activeTrCount - Number of active transactionsactiveTrTime - Average time for Single transaction.activeTrTotalTime - Total time for all the active transactions.public int getTrCount()
public int getTrTimeInMs()
public int getTrTotalTimeInMs()
Copyright © 2014. All Rights Reserved.