com.caucho.server.cluster
Class ProServerAdmin

java.lang.Object
  extended by com.caucho.management.server.AbstractManagedObject
      extended by com.caucho.management.server.AbstractEmitterObject
          extended by com.caucho.server.cluster.ServerAdmin
              extended by com.caucho.server.cluster.ProServerAdmin
All Implemented Interfaces:
ManagedObjectMXBean, ServerMXBean, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter

public class ProServerAdmin
extends ServerAdmin


Method Summary
 long getMemoryFreeMin()
          Returns the memory-free-min limit for forcing GC and restarting.
 long getPermGenFreeMin()
          Returns the perm-gen-free-min limit for forcing GC and restarting.
 int getSelectKeepaliveCount()
          Returns the current number of connections that are in the keepalive state and are using select to maintain the connection.
 boolean isSelectManagerEnabled()
          Returns true if a AbstractSelectManager is enabled and active
 
Methods inherited from class com.caucho.server.cluster.ServerAdmin
findConnectionByThreadId, getCacheStatistics, getClientDisconnectCountTotal, getCluster, getClusterPort, getCpuLoadAvg, getCurrentTime, getEnvironment, getId, getInvocationCacheHitCountTotal, getInvocationCacheMissCountTotal, getKeepaliveCountTotal, getName, getPorts, getRequestCountTotal, getRequestReadBytesTotal, getRequestTimeTotal, getRequestWriteBytesTotal, getRuntimeMemory, getRuntimeMemoryFree, getSelfServer, getServerHeader, getServerIndex, getShutdownWaitMax, getStage, getStartTime, getState, getThreadActiveCount, getThreadKeepaliveCount, getThreadPool, getType, getUptime, getUrlLengthMax, isBindPortsAfterStart, isDetailedStatistics, isDevelopmentModeErrorPage, restart
 
Methods inherited from class com.caucho.management.server.AbstractEmitterObject
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener
 
Methods inherited from class com.caucho.management.server.AbstractManagedObject
addObjectNameProperties, getObjectName, registerSelf, toString, unregisterSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getObjectName
 

Method Detail

getMemoryFreeMin

public long getMemoryFreeMin()
Description copied from interface: ServerMXBean
Returns the memory-free-min limit for forcing GC and restarting.

Specified by:
getMemoryFreeMin in interface ServerMXBean
Overrides:
getMemoryFreeMin in class ServerAdmin

getPermGenFreeMin

public long getPermGenFreeMin()
Description copied from interface: ServerMXBean
Returns the perm-gen-free-min limit for forcing GC and restarting.

Specified by:
getPermGenFreeMin in interface ServerMXBean
Overrides:
getPermGenFreeMin in class ServerAdmin

isSelectManagerEnabled

public boolean isSelectManagerEnabled()
Description copied from interface: ServerMXBean
Returns true if a AbstractSelectManager is enabled and active

Specified by:
isSelectManagerEnabled in interface ServerMXBean
Overrides:
isSelectManagerEnabled in class ServerAdmin

getSelectKeepaliveCount

public int getSelectKeepaliveCount()
Returns the current number of connections that are in the keepalive state and are using select to maintain the connection.

Specified by:
getSelectKeepaliveCount in interface ServerMXBean
Overrides:
getSelectKeepaliveCount in class ServerAdmin