public class JCSMPRuntime extends JCSMPStats
JCSMPRuntime provides JCSMP VM-wide runtime information, such
as JCSMP version information, supported protocol stacks, and global
statistics.
In addition to the session statistics defined in StatType, global statistics
are defined in RuntimeStatType.
| Modifier and Type | Method and Description |
|---|---|
long |
getStat(RuntimeStatType key) |
int |
getSupportedMaxNumOfXpesInOneRequest()
Deprecated.
|
List<String> |
getSupportedProtocolStacks() |
Version |
getVersion()
Get the version of the JCSMP API.
|
void |
incStat(RuntimeStatType key) |
void |
incStat(RuntimeStatType key,
long v) |
static JCSMPRuntime |
onlyInstance()
Returns the JCSMP runtime for the current JVM.
|
void |
resetStats()
Reset the global JCSMP statistics.
|
getLastStatsReset, getStat, getTitle, incStat, incStat, isDisableStats, toStringpublic static JCSMPRuntime onlyInstance()
JCSMPRuntime for the current JVM.public Version getVersion()
public List<String> getSupportedProtocolStacks()
public void resetStats()
resetStats in class JCSMPStatspublic long getStat(RuntimeStatType key)
public void incStat(RuntimeStatType key)
public void incStat(RuntimeStatType key, long v)
public int getSupportedMaxNumOfXpesInOneRequest()
Copyright 2004-2020 Solace Corporation. All rights reserved.