|
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 ShardMBean
This MBean interface allows a client process to perform operations on and get status from a shard running in a dynamic environment. The object name pattern for this MBean is:
com.ibm.websphere.objectgrid:type=Shard,name=<objectgrid>,objectgrid=<objectgrid>,mapset=<mapset>,partition=<partition id>,container=<container>,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 String |
ROLE_SWAP_REQUESTED_WITH_SAME_TYPE
Indicates that this shard is the same type of shard as the requested swap type. |
static String |
ROLE_SWAP_SUCCESSFUL
Indicates that the role swap was executed successfully. |
static String |
ROLE_SWAP_TIMEOUT
Indicates that this shard has timed out waiting to inherit its requested role |
static String |
TYPE_INACTIVE
Indicates the shard type is the inactive role. |
static String |
TYPE_PRIMARY
Indicates the shard type is the primary role. |
static String |
TYPE_REPLICA_ASYNCHRONOUS
Indicates the shard type is the asynchronous replica role. |
static String |
TYPE_REPLICA_SYNCHRONOUS
Indicates the shard type is the synchronous replica role. |
Method Summary | |
---|---|
long |
getActiveRequestCount()
Retrieves the number of requests currently being processed by this shard. |
String |
getContainerName()
Retrieves the name of the container that is hosting this shard. |
String |
getDomainName()
Retrieve the name of the catalog server grouping administering this shard. |
long |
getForwardedRequestCount()
Retrieves the number of requests that this shard has forwarded since its inception. |
String |
getMapSetName()
Retrieve the name of the MapSet in which the shard resides. |
String |
getObjectGridName()
Retrieve the name of the ObjectGrid in which the shard resides. |
String |
getPartitionName()
Retreive the name of the partition in which the shard resides. |
long |
getProcessedRequestCount()
Retrieves the number of requests that this shard has processed since its inception. |
String |
getState()
Retrieve the state of the shard. |
long |
getTotalRequestCount()
Retrieves the number of requests that this shard has processed or forwarded since its inception. |
String |
getType()
Retrieve the type of the shard. |
String |
swapWithPrimary()
Causes this shard to swap roles with the primary shard for the partition. |
Field Detail |
---|
static final String ROLE_SWAP_SUCCESSFUL
swapWithPrimary()
,
Constant Field Valuesstatic final String ROLE_SWAP_REQUESTED_WITH_SAME_TYPE
swapWithPrimary()
,
Constant Field Valuesstatic final String ROLE_SWAP_TIMEOUT
swapWithPrimary()
,
Constant Field Valuesstatic final String TYPE_PRIMARY
static final String TYPE_REPLICA_SYNCHRONOUS
static final String TYPE_REPLICA_ASYNCHRONOUS
static final String TYPE_INACTIVE
Method Detail |
---|
String getObjectGridName()
String getMapSetName()
String getPartitionName()
String getType()
String getDomainName()
String getState()
long getTotalRequestCount()
long getActiveRequestCount()
long getForwardedRequestCount()
long getProcessedRequestCount()
String getContainerName()
String swapWithPrimary()
If the role swap is not complete within 10 seconds, this operation will timeout.
ROLE_SWAP_SUCCESSFUL
,
ROLE_SWAP_REQUESTED_WITH_SAME_TYPE
,
ROLE_SWAP_TIMEOUT
|
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 |