public class SystemInfo
extends java.lang.Object
Snapshot
Modifier and Type | Class and Description |
---|---|
static class |
SystemInfo.GCInfo
Information about GC collectors in the JVM
|
Constructor and Description |
---|
SystemInfo() |
Modifier and Type | Method and Description |
---|---|
protected void |
extractGCInfo(java.lang.String name,
StatTuplev3 st) |
int |
getClientCount()
Returns the current number of clients
|
int |
getDequeueClientCount()
Returns the current number of dequeuing clients
|
long |
getFreeMemory()
Returns the amount of free memory in the StreamBase server process.
|
java.util.Collection<SystemInfo.GCInfo> |
getGCollectors()
Return a collection of information on all the garbage collectors in the JVM
|
long |
getMaxMemory()
Returns the maximum amount of memory which the StreamBase server process
is allowed to allocate.
|
int |
getProcessSize()
Deprecated.
As of StreamBase 3.0, use getTotalMemory(), which returns a
size in bytes.
|
int |
getTimeRunning()
Returns the time that the StreamBase Server has been running, in seconds.
|
long |
getTotalMemory()
Returns the total amount of memory available for use in the StreamBase
server process.
|
int |
getTotalNumberThreads()
Return the total number of threads running in the JVM (including non-StreamBase threads)
|
long |
getUsedMemory()
Returns the total amount of memory currently in use in the StreamBase
server process.
|
protected void extractGCInfo(java.lang.String name, StatTuplev3 st)
public int getTimeRunning()
public int getProcessSize()
public long getTotalMemory()
public long getUsedMemory()
public long getFreeMemory()
public long getMaxMemory()
public int getDequeueClientCount()
public int getClientCount()
public int getTotalNumberThreads()
public java.util.Collection<SystemInfo.GCInfo> getGCollectors()