|
IBM WebSphere® DataPower® XC10 Appliance Release 2.0 Client API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicServerMBean
This MBean interface allows a client process to access different attributes about a specific server process in a dynamic environment. The object name pattern for this MBean is:
com.ibm.websphere.objectgrid:type=ObjectGridServer,name=<server>,host=<host>,ogServerName=<server>If ObjectGrid is running in a WebSphere Application Server process, more key=value pairs may be added to the object name.
Field Summary | |
---|---|
static java.lang.String |
SERVER_COREGROUP_MEMBERSHIP_CHANGE
|
Method Summary | |
---|---|
int |
getAvailableProcessors()
Returns the number of available processors for the JVM hosting this server. |
long |
getFreeMemory()
Returns the available memory in bytes for the JVM hosting this server. |
java.lang.String |
getHostName()
Returns the host name for this process. |
long |
getMaxMemory()
Returns the maximum memory in bytes for the JVM hosting this server. |
boolean |
getSafeToShutdown()
Returns true if a replica exists for each primary hosted on this server. |
java.lang.String |
getStatsSpec()
Retrieve the current statistics specification for the server. |
long |
getTotalMemory()
Returns the total memory in bytes for the JVM hosting this server. |
java.lang.String |
getTraceSpec()
Retrieve the current trace specification for the server. |
java.lang.String |
getZoneName()
Returns the zone name for this process |
void |
setStatsSpec(java.lang.String statsSpec)
Set the statistics specification for the server. |
void |
setTraceSpec(java.lang.String traceSpec)
Set the trace specification for the server. |
Methods inherited from interface com.ibm.websphere.objectgrid.management.ServerMBean |
---|
getServerName, modifyServerTraceSpec, stopServer |
Field Detail |
---|
static final java.lang.String SERVER_COREGROUP_MEMBERSHIP_CHANGE
Method Detail |
---|
int getAvailableProcessors()
Runtime.availableProcessors()
long getFreeMemory()
Runtime.freeMemory()
long getMaxMemory()
Runtime.maxMemory()
long getTotalMemory()
Runtime.totalMemory()
java.lang.String getHostName()
InetAddress.getHostName()
java.lang.String getZoneName()
boolean getSafeToShutdown()
java.lang.String getStatsSpec()
StatsSpec
void setStatsSpec(java.lang.String statsSpec)
statsSpec
- the statistics specification string.StatsSpec
java.lang.String getTraceSpec()
void setTraceSpec(java.lang.String traceSpec)
traceSpec
- the statistics specification string.ObjectGridManager.setTraceSpecification(String)
|
IBM WebSphere® DataPower® XC10 Appliance Release 2.0 Client API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |