public final class GlobalStats
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static long |
databaseHitCount() |
static void |
incrementDatabaseHitCount()
increment hit count
|
static void |
incrementSearchCount()
increment search count
|
static void |
recordCmdCall(java.lang.String code,
java.lang.String command,
long startTime,
long allocatedTime,
DataSource ds) |
static void |
recordCommandBean(java.lang.String code,
java.lang.String command,
long startTime,
long endTime,
long allocatedTime,
DataSource ds) |
static void |
recordIdleTime(long msecs)
Record the idle time spent to ensure this time is not counted in the statistics
for a droid
|
static void |
recordSoapCall(java.lang.String threadName,
long startTime,
long completeTime) |
static void |
reset() |
static long |
searchCount()
How many searches
|
public static void incrementDatabaseHitCount()
public static void incrementSearchCount()
@CheckReturnValue @Nonnegative public static long databaseHitCount()
@CheckReturnValue @Nonnegative public static long searchCount()
public static void recordCmdCall(java.lang.String code, java.lang.String command, long startTime, long allocatedTime, DataSource ds)
code
- command
- startTime
- allocatedTime
- ds
- the data sourcepublic static void recordSoapCall(java.lang.String threadName, long startTime, long completeTime)
threadName
- startTime
- completeTime
- public static void reset() throws java.lang.Exception
java.lang.Exception
- Exception A serious problempublic static void recordCommandBean(java.lang.String code, java.lang.String command, long startTime, long endTime, long allocatedTime, DataSource ds)
code
- command
- startTime
- endTime
- allocatedTime
- ds
- the data sourcepublic static void recordIdleTime(long msecs)
msecs
- stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.