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 |
---|---|
(package private) void |
clear() |
protected void |
extractGCInfo(String name,
StatTuplev3 st) |
(package private) void |
extractInfo(StatTuple st)
extract system info from the StatTuple, setting member data as
appropriate.
|
(package private) void |
extractInfo(StatTuplev3 st)
extract system info from the StatTuple, setting member data as appropriate.
|
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.
|
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.
|
(package private) void |
prettyPrint()
Pretty-print a SystemInfo object to the standard output.
|
(package private) void |
saveForNextCycle() |
void extractInfo(StatTuplev3 st)
protected void extractGCInfo(String name, StatTuplev3 st)
void extractInfo(StatTuple 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()
void saveForNextCycle()
public Collection<SystemInfo.GCInfo> getGCollectors()
void prettyPrint()
void clear()
Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.