Package wt.manager.jmx
Interface ServerManagerMBean
- All Superinterfaces:
SelfEmailingMBean
Overview information and statistics for server manager
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringType of notification produced when subordinate server manager has been registered
Supported API: truestatic final StringType of notification produced when this server manager has become the main after previously being a secondary
Supported API: truestatic final StringDeprecated.static final StringType of notification produced when this server manager has reverted to a secondary role after previously being the main
Supported API: truestatic final StringDeprecated.the preferred way to do this is via theSERVER_MANAGER_BECAME_SECONDARY_NOTIFstatic final StringType of notification produced when subordinate server manager has been unregistered
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionSome basic data on each server manager registered in the cluster
Supported API: trueintNumber of getInfo() calls
Supported API: trueintNumber of getServer() calls
Supported API: trueJMX service URL
Supported API: trueName of main server manager
Supported API: trueDeprecated.the preferred way to do this is via thegetMainServerManagerName()getName()Name of this server manager JVM
Supported API: trueintNumber of registerServer() calls
Supported API: trueintNumber of reportDeadServer() calls
Supported API: trueintLength of interval (in seconds) at which secondary server managers are pinged
Supported API: trueString[]Names of secondary/subordinate server managers currently registered with this server manager
Supported API: trueintNumber of secondary/subordinate server managers currently registered with this server manager
Supported API: trueintNumber of "servers" lanched
Supported API: trueintDeprecated.the preferred way to do this is via thegetSecondaryPingIntervalSeconds()String[]Deprecated.the preferred way to do this is via thegetSecondaryServerManagerNames()intDeprecated.the preferred way to do this is via thegetSecondaryServerManagers()Server manager start time
Supported API: truebooleanWhether this server manager is the main cache
Supported API: truebooleanDeprecated.the preferred way to do this is via theisCacheMain()voidInvokes reset on all caches in the main server manager.voidsetSecondaryPingIntervalSeconds(int slavePingIntervalSeconds) Length of interval (in seconds) at which secondary server managers are pinged
Supported API: truevoidsetSlavePingIntervalSeconds(int slavePingIntervalSeconds) Deprecated.the preferred way to do this is via thesetSecondaryPingIntervalSeconds(int slavePingIntervalSeconds)Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Field Details
-
SERVER_MANAGER_ADDED_NOTIF
Type of notification produced when subordinate server manager has been registered
Supported API: true -
SERVER_MANAGER_REMOVED_NOTIF
Type of notification produced when subordinate server manager has been unregistered
Supported API: true -
SERVER_MANAGER_BECAME_MASTER_NOTIF
Deprecated.the preferred way to do this is via theSERVER_MANAGER_BECAME_MAIN_NOTIFType of notification produced when this server manager has become the master after previously being a slave
Supported API: true -
SERVER_MANAGER_BECAME_MAIN_NOTIF
Type of notification produced when this server manager has become the main after previously being a secondary
Supported API: true -
SERVER_MANAGER_BECAME_SLAVE_NOTIF
Deprecated.the preferred way to do this is via theSERVER_MANAGER_BECAME_SECONDARY_NOTIFType of notification produced when this server manager has reverted to a slave role after previously being the master
Supported API: true -
SERVER_MANAGER_BECAME_SECONDARY_NOTIF
Type of notification produced when this server manager has reverted to a secondary role after previously being the main
Supported API: true
-
-
Method Details
-
getStartDate
Date getStartDate()Server manager start time
Supported API: true -
getRegisterServerCalls
int getRegisterServerCalls()Number of registerServer() calls
Supported API: true -
getGetServerCalls
int getGetServerCalls()Number of getServer() calls
Supported API: true -
getReportDeadServerCalls
int getReportDeadServerCalls()Number of reportDeadServer() calls
Supported API: true -
getGetInfoCalls
int getGetInfoCalls()Number of getInfo() calls
Supported API: true -
getServerLaunchCount
int getServerLaunchCount()Number of "servers" lanched
Supported API: true -
getSlaveServerManagers
Deprecated.the preferred way to do this is via thegetSecondaryServerManagers()Number of slave/subordinate server managers currently registered with this server manager
Supported API: true -
getSlaveServerManagerNames
Deprecated.the preferred way to do this is via thegetSecondaryServerManagerNames()Names of slave/subordinate server managers currently registered with this server manager
Supported API: true -
getMasterServerManagerName
Deprecated.the preferred way to do this is via thegetMainServerManagerName()Name of master server manager
Supported API: true -
isCacheMaster
Deprecated.the preferred way to do this is via theisCacheMain()Whether this server manager is the cache master
Supported API: true -
getAllServerManagerInfos
Some basic data on each server manager registered in the cluster
Supported API: true- Throws:
OpenDataException
-
getName
String getName()Name of this server manager JVM
Supported API: true -
getJmxServiceURL
String getJmxServiceURL()JMX service URL
Supported API: true -
getSlavePingIntervalSeconds
Deprecated.the preferred way to do this is via thegetSecondaryPingIntervalSeconds()Length of interval (in seconds) at which slave server managers are pinged
Supported API: true -
setSlavePingIntervalSeconds
Deprecated.the preferred way to do this is via thesetSecondaryPingIntervalSeconds(int slavePingIntervalSeconds)Length of interval (in seconds) at which slave server managers are pinged
Supported API: true -
resetAllCaches
Invokes reset on all caches in the main server manager.
Supported API: true- Throws:
Exception
-
getSecondaryServerManagers
int getSecondaryServerManagers()Number of secondary/subordinate server managers currently registered with this server manager
Supported API: true -
getSecondaryServerManagerNames
String[] getSecondaryServerManagerNames()Names of secondary/subordinate server managers currently registered with this server manager
Supported API: true -
getMainServerManagerName
String getMainServerManagerName()Name of main server manager
Supported API: true -
isCacheMain
boolean isCacheMain()Whether this server manager is the main cache
Supported API: true -
getSecondaryPingIntervalSeconds
int getSecondaryPingIntervalSeconds()Length of interval (in seconds) at which secondary server managers are pinged
Supported API: true -
setSecondaryPingIntervalSeconds
void setSecondaryPingIntervalSeconds(int slavePingIntervalSeconds) Length of interval (in seconds) at which secondary server managers are pinged
Supported API: true
-
SERVER_MANAGER_BECAME_MAIN_NOTIF