public class Statistics extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
long |
getDeleteRequestAverageTime()
Returns the delete request average time
|
long |
getDeleteRequestTimeMaximum()
Returns the delete request maximum time
|
long |
getDeleteRequestTimeMinimum()
Returns the delete request minimum time
|
static Statistics |
getInstance()
Returns the singleton instance
|
long |
getReadRecordRequestAverageTime()
Returns the read record count request average time
|
long |
getReadRecordRequestTimeMaximum()
Returns the read record count request maximum time
|
long |
getReadRecordRequestTimeMinimum()
Returns the read record count request minimum time
|
long |
getReadRequestAverageTime()
Returns the read request average time
|
long |
getReadRequestTimeMaximum()
Returns the read request maximum time
|
long |
getReadRequestTimeMinimum()
Returns the read request minimum time
|
int |
getTotalDeletes()
Get the total number of deletes
|
int |
getTotalReadRecordCount()
Get the total number of reads record count
|
int |
getTotalReads()
Returns the total number of reads
|
int |
getTotalRequests()
Returns the total number of requests
|
int |
getTotalWrites()
Get the total number of writes
|
long |
getWriteRequestAverageTime()
Returns the write request average time
|
long |
getWriteRequestTimeMaximum()
Returns the write request maximum time
|
long |
getWriteRequestTimeMinimum()
Returns the write request minimum time
|
void |
incrementTotalDeletes()
Increment the total number of deletes
|
void |
incrementTotalReadRecordCount()
Increment the total read record count total
|
void |
incrementTotalReads()
Increment the total read count
|
void |
incrementTotalWrites()
Increment the total number of writes
|
static boolean |
isEnabled()
Used to determine if statistics is enabled in the server
|
void |
resetStatistics()
Resets the statistics counters to zero.
|
void |
updateDeleteTime(long time)
Update the delete request time count
|
void |
updateReadRecordCountTime(long time)
Update the read record count request time count
|
void |
updateReadTime(long time)
Update the read request time count
|
void |
updateWriteTime(long time)
Update the write request time count
|
public static Statistics getInstance()
public int getTotalRequests()
public int getTotalReads()
public void incrementTotalReads()
public void updateReadTime(long time)
time
- The time in ms of the last read requestpublic long getReadRequestTimeMinimum()
public long getReadRequestTimeMaximum()
public long getReadRequestAverageTime()
public int getTotalWrites()
public void incrementTotalWrites()
public void updateWriteTime(long time)
time
- The time in ms of the last write requestpublic long getWriteRequestTimeMinimum()
public long getWriteRequestTimeMaximum()
public long getWriteRequestAverageTime()
public int getTotalDeletes()
public void incrementTotalDeletes()
public void updateDeleteTime(long time)
time
- The time in ms of the last delete requestpublic long getDeleteRequestTimeMinimum()
public long getDeleteRequestTimeMaximum()
public long getDeleteRequestAverageTime()
public int getTotalReadRecordCount()
public void incrementTotalReadRecordCount()
public void updateReadRecordCountTime(long time)
time
- The time in ms of the last read record count requestpublic long getReadRecordRequestTimeMinimum()
public long getReadRecordRequestTimeMaximum()
public long getReadRecordRequestAverageTime()
public void resetStatistics()
public static boolean isEnabled()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.