public class ServiceStatistics extends Object
Modifier and Type | Field and Description |
---|---|
static String |
INDENT
Standard indention.
|
Modifier | Constructor and Description |
---|---|
protected |
ServiceStatistics(String runtimeStats,
String dataStats,
String aclStats,
String roConnPoolStats,
String wrConnPoolStats,
SessionStatistics sessStats)
Construct a ServiceStatistics.
|
protected |
ServiceStatistics(String runtimeStats,
String dataStats,
String aclStats,
String roConnPoolStats,
String wrConnPoolStats,
SessionStatistics sessStats,
String clusterStats)
Deprecated.
9.3.4.0 use other variant that omits clusterStats
|
Modifier and Type | Method and Description |
---|---|
String |
getAclCacheStatistics()
Get the current service's ACL (the committed ACL cache) statistics.
|
String |
getClusteringStatistics()
Deprecated.
9.3.4.0 obsolete - will return empty String
|
String |
getDataCacheStatistics()
Get the current service's data (the committed data cache) statistics.
|
String |
getReadonlyConnectionPoolStatistics()
Get the current service's readonly connection pool statistics.
|
String |
getRuntimeStatistics()
Get the current runtime statistics.
|
static String |
getRuntimeStatisticsString(LibrarySession session)
Get the runtime statistics, as a String.
|
static ServiceStatistics |
getServiceStatistics(LibrarySession session)
Get the statistics for the service running on this node.
|
static String |
getSessionCacheStatistics(LibrarySession session)
Get the LibrarySession-specific cache statistics for the
specified session.
|
SessionStatistics |
getSessionStatistics()
Get the current service's session statistics.
|
String |
getWriteableConnectionPoolStatistics()
Get the current service's writeable connection pool statistics.
|
String |
toString()
Return string representation of the ServiceStatistics,
using the default date format that specified date strings
in the format "yyyy/MM/dd HH:mm:ss", and defaulting to use verbose output.
|
String |
toString(DateFormat dateFormat)
Return string representation of the ServiceStatistics,
using the specified DateFormat, defaulting to use verbose output.
|
String |
toString(DateFormat dateFormat,
boolean verbose)
Return string representation of the ServiceStatistics,
using the specified DateFormat and whether the output should be verbose.
|
public static final String INDENT
protected ServiceStatistics(String runtimeStats, String dataStats, String aclStats, String roConnPoolStats, String wrConnPoolStats, SessionStatistics sessStats, String clusterStats)
runtimeStats
- the runtime statisticsdataStats
- the data cache statisticsaclStats
- the ACL cache statisticsroConnPoolStats
- the readonly connection pool statisticswrConnPoolStats
- the writeable connection pool statisticssessStats
- the session statisticsclusterStats
- the Clustering statisticsprotected ServiceStatistics(String runtimeStats, String dataStats, String aclStats, String roConnPoolStats, String wrConnPoolStats, SessionStatistics sessStats)
runtimeStats
- the runtime statisticsdataStats
- the data cache statisticsaclStats
- the ACL cache statisticsroConnPoolStats
- the readonly connection pool statisticswrConnPoolStats
- the writeable connection pool statisticssessStats
- the session statisticspublic String getRuntimeStatistics()
public String getDataCacheStatistics()
public String getAclCacheStatistics()
public String getReadonlyConnectionPoolStatistics()
public String getWriteableConnectionPoolStatistics()
public SessionStatistics getSessionStatistics()
public String getClusteringStatistics()
public static ServiceStatistics getServiceStatistics(LibrarySession session) throws IfsException
session
- the session contextIfsException
- if the operation failspublic static String getSessionCacheStatistics(LibrarySession session) throws IfsException
session
- the session contextIfsException
- if the operation failspublic String toString()
public String toString(DateFormat dateFormat)
dateFormat
- the desired date formatpublic String toString(DateFormat dateFormat, boolean verbose)
dateFormat
- the desired date formatverbose
- whether the output should be verbose.public static String getRuntimeStatisticsString(LibrarySession session) throws IfsException
IfsException
- if the operation failsCopyright © 2023. All rights reserved.