|
IBM WebSphereTM eXtreme Scale, Release 8.6 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.
The following notifications are available:
og.server.container.coregroup.membership.change
Description: | All core group membership changes detected by the server's core group manager. |
UserData: | The number of members in the core group. |
Message: | The name of the core group. |
Since: | 6.1 FIX 3 |
com.ibm.websphere.objectgrid.log
Description: | All log messages detected by the log notification filter. See the setLogNotificationFilter(String) attribute. |
||||||||||||||||||||||||||||||||
UserData: | A CompositeData with the following items:
| ||||||||||||||||||||||||||||||||
Message: | The log message. | ||||||||||||||||||||||||||||||||
Since: | 8.6 |
com.ibm.websphere.objectgrid.ffdc
Description: | All first-failure data captured by the grid server. | ||||||||||||||||||||||||||||
UserData: | A CompositeData with the following items:
| ||||||||||||||||||||||||||||
Message: | A notification was generated on the server for a new exception. | ||||||||||||||||||||||||||||
Since: | 8.6 |
Field Summary | |
---|---|
static String |
COUNT
|
static String |
DATE_OF_FIRST_OCCURRENCE
|
static String |
EXCEPTION_NAME
|
static String |
FFDC_INCIDENT_DATA
|
static String |
FFDC_NOTIFICATION
|
static String |
LABEL
|
static String |
LEVEL_NAME
|
static String |
LOG_MESSAGE_NOTIFICATION
The constant identifying the notification type for log messages. |
static String |
LOG_RECORD_DATA
|
static String |
LOGGER_NAME
|
static String |
PROBE_ID
|
static String |
SEQUENCE_NUMBER
|
static String |
SERVER_COREGROUP_MEMBERSHIP_CHANGE
A constant identifying the notification type for all core group membership changes detected by this server. |
static String |
SOURCE_CLASS_NAME
|
static String |
SOURCE_ID
|
static String |
SOURCE_METHOD_NAME
|
static String |
THREAD_ID
|
static String |
THROWN_MESSAGE
|
Method Summary | |
---|---|
void |
checkFFDCNotification()
Triggers a simulated exception to be captured as a first-failure data capture (FFDC) event (and subsequently broadcasted as a JMX notification), as a means to test and verify the monitoring being enabled on the server. |
void |
checkLoggingNotification()
Generates a set of log records with various severity levels, providing a simple means to test and verify when the JMX notification monitoring being enabled on the grid server. |
int |
getAvailableProcessors()
Returns the number of available processors for the JVM hosting this server. |
CompositeData |
getEnvironmentInfo()
Retrieve the environment information for the server (host name, WebSphere eXtreme Scale version, and additional information). |
long |
getFreeMemory()
Returns the available memory in bytes for the JVM hosting this server. |
String |
getHostName()
Returns the host name for this process. |
String |
getLogNotificationFilter()
Retrieves current regular expression filter being applied while screening log record messages before being broadcasted as JMX notifications by the grid server as a JMX Notification of type: |
long |
getMaxMemory()
Returns the maximum memory in bytes for the JVM hosting this server. |
TabularData |
getPrimaryRevisions()
Provides revisions for all primary shards in the container in the form of a TabularData object, where each CompositeData (row in the TabularData) contains the following items: |
TabularData |
getRevisions()
Provides revisions for all shards in the server in the form of a TabularData object, where each CompositeData (row in the TabularData) contains the following items: |
boolean |
getSafeToShutdown()
Returns true if a replica exists for each primary hosted on this server. |
String |
getStatsSpec()
Retrieve the current statistics specification for the server. |
long |
getTotalMemory()
Returns the total memory in bytes for the JVM hosting this server. |
String |
getTraceSpec()
Retrieve the current trace specification for the server. |
String |
getZoneName()
Returns the zone name for this process |
void |
setLogNotificationFilter(String regExFilter)
Sets the regular expression filter to be applied in screening log record messages before being broadcasted by the grid server as a JMX Notification of type: |
void |
setStatsSpec(String statsSpec)
Set the statistics specification for the server. |
void |
setTraceSpec(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 String SERVER_COREGROUP_MEMBERSHIP_CHANGE
static final String LOG_MESSAGE_NOTIFICATION
static final String FFDC_NOTIFICATION
static final String LOG_RECORD_DATA
static final String THROWN_MESSAGE
static final String THREAD_ID
static final String SEQUENCE_NUMBER
static final String SOURCE_METHOD_NAME
static final String SOURCE_CLASS_NAME
static final String LOGGER_NAME
static final String LEVEL_NAME
static final String FFDC_INCIDENT_DATA
static final String SOURCE_ID
static final String PROBE_ID
static final String LABEL
static final String DATE_OF_FIRST_OCCURRENCE
static final String COUNT
static final String EXCEPTION_NAME
Method Detail |
---|
int getAvailableProcessors()
Runtime.availableProcessors()
long getFreeMemory()
Runtime.freeMemory()
long getMaxMemory()
Runtime.maxMemory()
long getTotalMemory()
Runtime.totalMemory()
String getHostName()
InetAddress.getHostName()
String getZoneName()
boolean getSafeToShutdown()
String getStatsSpec()
StatsSpec
void setStatsSpec(String statsSpec)
statsSpec
- the statistics specification string.StatsSpec
String getTraceSpec()
void setTraceSpec(String traceSpec)
traceSpec
- the statistics specification string.ObjectGridManager.setTraceSpecification(String)
CompositeData getEnvironmentInfo()
Item Name | Type | Description |
JMXServicePort | String | JMX Service Port |
WASServerName | String | WebSphere Application Server Full Server Name |
JVMVersion | String | JAVA Version |
JMXConnectorPort | String | JMX Connector Port |
IPAddress | String | IP Address |
JavaVM | String | JVM Version |
WASInstallRoot | String | WebSphere Application Server Product Directory |
OSGIFrameworkVersion | String | OSGi Version |
ClientPort | String | Client Port |
HostName | String | Host name |
Timestamp | String | Time Stamp from Server |
WASBaseVersion | String | IBM WebSphere Application Server Version |
OSName | String | Operating System |
XSInstallRoot | String | WebSphere eXtreme Scale Product Directory |
OSArch | String | OS Architecture |
PeerPort | String | Peer Port |
ServerType | String | Server Type |
HAManagerPort | String | HAManager Port |
JVMInstallPath | String | JAVA Directory |
XC10Model | String | Machine Type and Model |
JavaRuntimeInfo | String | JVM Runtime Version |
xioContainerTCPNonSecure | String | XIO TCP/IP Port |
JMXServiceURL | String | JMX Service Port |
listenerPort | String | Listener Port (ORB) |
ServerName | String | Server Name |
WASXDVersion | String | IBM WebSphere Application Server - XD Version |
WASExpressVersion | String | IBM WebSphere Application Server - ND Version |
JavaBitMode | String | JAVA Bit Mode |
XSVersion | String | WebSphere eXtreme Scale Version |
JVMVendor | String | JAVA Vendor |
OSVersion | String | Operating System Version |
xioContainerTCPSecure | String | XIO TCP/IP SSL Port |
PID | String | Process ID |
WASNDVersion | String | IBM WebSphere Application Server - ND Version |
ORB Version | String | ORB Version |
void setLogNotificationFilter(String regExFilter)
com.ibm.websphere.objectgrid.log
UserData: | A CompositeData with the following items:
| ||||||||||||||||||||||||||||||||
Message: | The log message. | ||||||||||||||||||||||||||||||||
Since: | 8.6 |
regExFilter
- The regular expression filter to applied in screening log record messages.String getLogNotificationFilter()
com.ibm.websphere.objectgrid.log
UserData: | A CompositeData with the following items:
| ||||||||||||||||||||||||||||||||
Message: | The log message. | ||||||||||||||||||||||||||||||||
Since: | 8.6 |
void checkFFDCNotification()
com.ibm.websphere.objectgrid.ffdc
Description: | All first-failure data captured by the grid server. | ||||||||||||||||||||||||||||
UserData: | A CompositeData with the following items:
| ||||||||||||||||||||||||||||
Message: | A simulated first-failure data capture (FFDC) exception notification was generated by the server. | ||||||||||||||||||||||||||||
Since: | 8.6 |
void checkLoggingNotification()
com.ibm.websphere.objectgrid.log
UserData: | A CompositeData with the following items:
| ||||||||||||||||||||||||||||||||
Message: | A simulated log info/warning/error notification was generated by the server. | ||||||||||||||||||||||||||||||||
Since: | 8.6 |
TabularData getRevisions()
Item Name | Type | Description | Since |
Grid | String | The object grid name. | 8.6 |
MapSet | String | The name of the mapSet. | 8.6 |
PartitionNumber | Integer | The number of a given partition. | 8.6 |
ContainerName | String | Name of the container. | 8.6 |
ShardType | String | Type of the shard. | 8.6 |
RevisionState | TabularData | The lifetimeId / revisionNumber info for a given partition. | 8.6 |
The RevisionState TabularData's CompositeData contains the following items:
Item Name | Type | Description | Since |
LifetimeId | Long | The LifetimeId for the shard | 8.6 |
Revision | Long | The revision number | 8.6 |
TabularData getPrimaryRevisions()
Item Name | Type | Description | Since |
Grid | String | The object grid name. | 8.6 |
MapSet | String | The name of the mapSet. | 8.6 |
PartitionNumber | Integer | The number of a given partition. | 8.6 |
ContainerName | String | Name of the container. | 8.6 |
ShardType | String | Type of the shard. | 8.6 |
RevisionState | TabularData | The lifetimeId / revisionNumber info for a given partition. | 8.6 |
The RevisionState TabularData's CompositeData contains the following items:
Item Name | Type | Description | Since |
LifetimeId | Long | The LifetimeId for the shard | 8.6 |
Revision | Long | The revision number | 8.6 |
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |