com.sap.conn.jco.monitor
Interface JCoServerMonitor


public interface JCoServerMonitor

Monitor provides details about the monitored JCoServer instance


Method Summary
 java.util.List<? extends JCoConnectionData> getConnectionsData()
          Returns the details for each connection currently hold by the server instance
 int getCurrentConnectionCount()
          Return the number of the server connections hold by this server instance
 int getCurrentServerThreadCount()
          Return the number of server worker threads that currently are started by this server
 int getMaximumUsedServerThreadCount()
          Return the maximum number of server worker threads that have been actually been used simultaneously by this server
 int getServerThreadCount()
          Return the number of server worker threads that may be started by this server
 JCoServerState getState()
          Returns the current state of the server instance
 int getStatelessConnectionCount()
          Return the number of the stateless server connections hold by this server instance
 int getUsedServerThreadCount()
          Return the number of server worker threads currently in use by this server
 

Method Detail

getServerThreadCount

int getServerThreadCount()
Return the number of server worker threads that may be started by this server

Returns:
max number of worker threads

getCurrentServerThreadCount

int getCurrentServerThreadCount()
Return the number of server worker threads that currently are started by this server

Returns:
current number of worker threads

getMaximumUsedServerThreadCount

int getMaximumUsedServerThreadCount()
Return the maximum number of server worker threads that have been actually been used simultaneously by this server

Returns:
max number of used worker threads

getUsedServerThreadCount

int getUsedServerThreadCount()
Return the number of server worker threads currently in use by this server

Returns:
number of used worker threads

getCurrentConnectionCount

int getCurrentConnectionCount()
Return the number of the server connections hold by this server instance

Returns:
number of connections hold by this server instance

getStatelessConnectionCount

int getStatelessConnectionCount()
Return the number of the stateless server connections hold by this server instance

Returns:
number of stateless connections hold by this server instance

getConnectionsData

java.util.List<? extends JCoConnectionData> getConnectionsData()
Returns the details for each connection currently hold by the server instance

Returns:
details for each connection as JCoConnectionData

getState

JCoServerState getState()
Returns the current state of the server instance

Returns:
state as JCoServer.State


Copyright © 2008-2014 SAP AG. All Rights Reserved.