Interface ServerManagerMBean

All Superinterfaces:
SelfEmailingMBean

public interface ServerManagerMBean extends SelfEmailingMBean
Overview information and statistics for server manager

Supported API: true

Extendable: true
  • Field Details

    • SERVER_MANAGER_ADDED_NOTIF

      static final String SERVER_MANAGER_ADDED_NOTIF
      Type of notification produced when subordinate server manager has been registered

      Supported API: true
    • SERVER_MANAGER_REMOVED_NOTIF

      static final String SERVER_MANAGER_REMOVED_NOTIF
      Type of notification produced when subordinate server manager has been unregistered

      Supported API: true
    • SERVER_MANAGER_BECAME_MASTER_NOTIF

      @Deprecated static final String SERVER_MANAGER_BECAME_MASTER_NOTIF
      Deprecated.
      the preferred way to do this is via the SERVER_MANAGER_BECAME_MAIN_NOTIF
      Type of notification produced when this server manager has become the master after previously being a slave

      Supported API: true
    • SERVER_MANAGER_BECAME_MAIN_NOTIF

      static final String 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 static final String SERVER_MANAGER_BECAME_SLAVE_NOTIF
      Deprecated.
      the preferred way to do this is via the SERVER_MANAGER_BECAME_SECONDARY_NOTIF
      Type 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

      static final String 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 int getSlaveServerManagers()
      Deprecated.
      the preferred way to do this is via the getSecondaryServerManagers()
      Number of slave/subordinate server managers currently registered with this server manager

      Supported API: true
    • getSlaveServerManagerNames

      @Deprecated String[] getSlaveServerManagerNames()
      Deprecated.
      the preferred way to do this is via the getSecondaryServerManagerNames()
      Names of slave/subordinate server managers currently registered with this server manager

      Supported API: true
    • getMasterServerManagerName

      @Deprecated String getMasterServerManagerName()
      Deprecated.
      the preferred way to do this is via the getMainServerManagerName()
      Name of master server manager

      Supported API: true
    • isCacheMaster

      @Deprecated boolean isCacheMaster()
      Deprecated.
      the preferred way to do this is via the isCacheMain()
      Whether this server manager is the cache master

      Supported API: true
    • getAllServerManagerInfos

      CompositeData[] getAllServerManagerInfos() throws OpenDataException
      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 int getSlavePingIntervalSeconds()
      Deprecated.
      the preferred way to do this is via the getSecondaryPingIntervalSeconds()
      Length of interval (in seconds) at which slave server managers are pinged

      Supported API: true
    • setSlavePingIntervalSeconds

      @Deprecated void setSlavePingIntervalSeconds(int slavePingIntervalSeconds)
      Deprecated.
      Length of interval (in seconds) at which slave server managers are pinged

      Supported API: true
    • resetAllCaches

      @MBeanOperationImpact(1) void resetAllCaches() throws Exception
      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