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, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
boolean isClusterMaster()
String getClusterMasterName() throws ManagementException
ManagementException
ServiceMigrationDataRuntimeMBean[] 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.