public interface ServiceMigrationRuntimeMBean extends RuntimeMBean
Please note that the migration history is not persisted and is lost when a server is shutdown.
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterMasterName()
Returns the server name who is the cluster master.
|
ServiceMigrationDataRuntimeMBean[] |
getMigrationData()
Returns the migrations performed by this server as the cluster master.
|
boolean |
isClusterMaster()
Is the current server the cluster master?
|
addPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListenerboolean isClusterMaster()
String getClusterMasterName() throws ManagementException
ManagementExceptionServiceMigrationDataRuntimeMBean[] getMigrationData() throws ManagementException
null if there is no history available.ManagementException - is thrown if this method is called on a
server that is not the cluster master.