com.sap.conn.jco.monitor
Interface JCoServerMonitor


public interface JCoServerMonitor

The server monitor provides runtime details about a JCoServer instance.


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

Method Detail

getServerName

java.lang.String getServerName()
Returns the name of the server instance that is monitored by this instance.

Returns:
the name of the server
Since:
JCo 3.0.16

getServerThreadCount

int getServerThreadCount()
Returns the maximum number of server worker threads that may be started by the monitored server instance.

Returns:
maximum number of worker threads

getCurrentServerThreadCount

int getCurrentServerThreadCount()
Returns the number of server worker threads that are currently started the monitored server instance.

Returns:
current number of worker threads

getMaximumUsedServerThreadCount

int getMaximumUsedServerThreadCount()
Returns the maximum number of server worker threads that actually have been been used simultaneously the monitored server instance.

Returns:
maximum number of used worker threads

getUsedServerThreadCount

int getUsedServerThreadCount()
Returns the number of server worker threads that are currently in use by the monitored server instance.

Returns:
number of currently used worker threads

getCurrentConnectionCount

int getCurrentConnectionCount()
Returns the number of server connections that are currently held open by the monitored server instance.

Returns:
current number of connections

getStatelessConnectionCount

int getStatelessConnectionCount()
Returns the number of stateless server connections that are currently held open by the monitored server instance.

Returns:
current number of stateless connections

getConnectionsData

java.util.List<? extends JCoConnectionData> getConnectionsData()
Returns the details for each connection that are are currently held open by the monitored server instance.

Returns:
details for each connection belonging to the monitored server instance

getState

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

Returns:
current server state


Copyright © 2008-2016 SAP SE. All Rights Reserved.