com.lightstreamer.jmx
Interface ResourceMBean


public interface ResourceMBean

One ResourceMBean instance exists in the system. It is created at startup by Lightstreamer Server and lasts until the shutdown of the Server.

ResourceMBean name:
"com.lightstreamer:type=Resource"


Method Summary
 java.lang.Long getCumulConnections()
           
 java.lang.Long getCumulControlConnections()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulControlDisconnections()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulControlRequestsFailed()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulDisconnections()
           
 java.lang.Long getCumulHTTPConnections()
           
 java.lang.Long getCumulHTTPSConnections()
           
 java.lang.Long getCumulPageConnections()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulPageDisconnections()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulPageRequestsFailed()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulPollingConnections()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulPollingDisconnections()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulPollingRequestsFailed()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulStartedSessions()
           
 java.lang.Long getCumulStreamConnections()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulStreamDisconnections()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulStreamRequestsFailed()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulStreamRequestsRefused()
          [TO BE IMPLEMENTED]
 java.lang.Long getCumulTerminatedSessions()
           
 java.lang.Integer getCurrentControlSockets()
          [TO BE IMPLEMENTED]
 java.lang.Integer getCurrentPageSockets()
          [TO BE IMPLEMENTED]
 java.lang.Integer getCurrentPollingSockets()
          [TO BE IMPLEMENTED]
 java.util.List getCurrentSessionList()
           
 java.lang.Integer getCurrentSessions()
           
 java.lang.Integer getCurrentSockets()
           
 java.lang.Integer getCurrentStreamSockets()
          [TO BE IMPLEMENTED]
 java.lang.Integer getMaxControlSockets()
          [TO BE IMPLEMENTED]
 java.lang.Integer getMaxPageSockets()
          [TO BE IMPLEMENTED]
 java.lang.Integer getMaxPollingSockets()
          [TO BE IMPLEMENTED]
 java.lang.Integer getMaxSessions()
           
 java.lang.Integer getMaxSockets()
           
 java.lang.Integer getMaxStreamSockets()
          [TO BE IMPLEMENTED]
 java.lang.Integer getNewConnections()
           
 java.lang.Integer getNewControlConnections()
          [TO BE IMPLEMENTED]
 java.lang.Integer getNewControlDisconnections()
          [TO BE IMPLEMENTED]
 java.lang.Integer getNewDisconnections()
           
 java.lang.Integer getNewPageConnections()
          [TO BE IMPLEMENTED]
 java.lang.Integer getNewPageDisconnections()
          [TO BE IMPLEMENTED]
 java.lang.Integer getNewPollingConnections()
          [TO BE IMPLEMENTED]
 java.lang.Integer getNewPollingDisconnections()
          [TO BE IMPLEMENTED]
 java.lang.Integer getNewStartedSessions()
           
 java.lang.Integer getNewStreamConnections()
          [TO BE IMPLEMENTED]
 java.lang.Integer getNewStreamDisconnections()
          [TO BE IMPLEMENTED]
 java.lang.Integer getNewTerminatedSessions()
           
 java.util.List getSessionListForUsername(java.lang.String username)
          [TO BE IMPLEMENTED]
 java.lang.Long getTotalSubscribedItems()
           
 java.util.List getUsernameList()
          [TO BE IMPLEMENTED]
 java.lang.Integer getUsernames()
          [TO BE IMPLEMENTED]
 

Method Detail

getTotalSubscribedItems

java.lang.Long getTotalSubscribedItems()
Returns:
The total number of currently subscribed Items, covering all the Data Adapters from all the Adapter Sets plugged in the Server.

getUsernames

java.lang.Integer getUsernames()
[TO BE IMPLEMENTED]

Returns:
The number of unique usernames of users currently connected to the Server.

getUsernameList

java.util.List getUsernameList()
[TO BE IMPLEMENTED]

Returns:
The list of unique usernames of users currently connected to the Server. Expressed as an ArrayList of Strings, where each String contains a username.

getSessionListForUsername

java.util.List getSessionListForUsername(java.lang.String username)
[TO BE IMPLEMENTED]

Parameters:
username - a User name.
Returns:
The list of current Sessions owned by username User. Expressed as an ArrayList of Strings, where each String contains the sessionID of the Session.

getCurrentSessions

java.lang.Integer getCurrentSessions()
Returns:
The number of current Sessions.

getCurrentSessionList

java.util.List getCurrentSessionList()
Returns:
The list of current Sessions. Expressed as an ArrayList of Strings, where each String contains the sessionID of the Session.

getMaxSessions

java.lang.Integer getMaxSessions()
Returns:
The max number of concurrent Sessions reached in the life of the Server.

getCumulStartedSessions

java.lang.Long getCumulStartedSessions()
Returns:
The total (cumulative) number of Sessions started in the life of the Server.

getCumulTerminatedSessions

java.lang.Long getCumulTerminatedSessions()
Returns:
The total (cumulative) number of Sessions terminated in the life of the Server.

getNewStartedSessions

java.lang.Integer getNewStartedSessions()
Returns:
The number of Sessions started in the last sampling period.

getNewTerminatedSessions

java.lang.Integer getNewTerminatedSessions()
Returns:
The number of Sessions terminated in the last sampling period.

getCurrentStreamSockets

java.lang.Integer getCurrentStreamSockets()
[TO BE IMPLEMENTED]

Returns:
The number of current Stream Connection sockets.

getMaxStreamSockets

java.lang.Integer getMaxStreamSockets()
[TO BE IMPLEMENTED]

Returns:
The maximum number of concurrent Stream Connection sockets reached in the life of the Server.

getCumulStreamConnections

java.lang.Long getCumulStreamConnections()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Stream Connections opened in the life of the Server.

getCumulStreamDisconnections

java.lang.Long getCumulStreamDisconnections()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Stream Connections closed in the life of the Server.

getCumulStreamRequestsFailed

java.lang.Long getCumulStreamRequestsFailed()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Stream Connection requests failed in the life of the Server.

getCumulStreamRequestsRefused

java.lang.Long getCumulStreamRequestsRefused()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Stream Connection requests refused because of load limits in the life of the Server. The count also includes Polling Connections requests refused.

getNewStreamConnections

java.lang.Integer getNewStreamConnections()
[TO BE IMPLEMENTED]

Returns:
The number of Stream Connections opened in the last sampling period.

getNewStreamDisconnections

java.lang.Integer getNewStreamDisconnections()
[TO BE IMPLEMENTED]

Returns:
The number of Stream Connections closed in the last sampling period.

getCurrentPollingSockets

java.lang.Integer getCurrentPollingSockets()
[TO BE IMPLEMENTED]

Returns:
The number of current Polling Connection sockets.

getMaxPollingSockets

java.lang.Integer getMaxPollingSockets()
[TO BE IMPLEMENTED]

Returns:
The maximum number of concurrent Polling Connection sockets reached in the life of the Server.

getCumulPollingConnections

java.lang.Long getCumulPollingConnections()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Polling Connections opened in the life of the Server.

getCumulPollingDisconnections

java.lang.Long getCumulPollingDisconnections()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Polling Connections closed in the life of the Server.

getCumulPollingRequestsFailed

java.lang.Long getCumulPollingRequestsFailed()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Polling Connection requests failed in the life of the Server.

getNewPollingConnections

java.lang.Integer getNewPollingConnections()
[TO BE IMPLEMENTED]

Returns:
The number of Polling Connections opened in the last sampling period.

getNewPollingDisconnections

java.lang.Integer getNewPollingDisconnections()
[TO BE IMPLEMENTED]

Returns:
The number of Polling Connections closed in the last sampling period.

getCurrentControlSockets

java.lang.Integer getCurrentControlSockets()
[TO BE IMPLEMENTED]

Returns:
The number of current Control Connection sockets.

getMaxControlSockets

java.lang.Integer getMaxControlSockets()
[TO BE IMPLEMENTED]

Returns:
The maximum number of concurrent Control Connection sockets reached in the life of the Server.

getCumulControlConnections

java.lang.Long getCumulControlConnections()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Control Connections opened in the life of the Server.

getCumulControlDisconnections

java.lang.Long getCumulControlDisconnections()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Control Connections closed in the life of the Server.

getCumulControlRequestsFailed

java.lang.Long getCumulControlRequestsFailed()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Control Connection requests failed in the life of the Server.

getNewControlConnections

java.lang.Integer getNewControlConnections()
[TO BE IMPLEMENTED]

Returns:
The number of Control Connections opened in the last sampling period.

getNewControlDisconnections

java.lang.Integer getNewControlDisconnections()
[TO BE IMPLEMENTED]

Returns:
The number of Control Connections closed in the last sampling period.

getCurrentPageSockets

java.lang.Integer getCurrentPageSockets()
[TO BE IMPLEMENTED]

Returns:
The number of current Internal Web Server Connection sockets.

getMaxPageSockets

java.lang.Integer getMaxPageSockets()
[TO BE IMPLEMENTED]

Returns:
The maximum number of concurrent Internal Web Server Connection sockets reached in the life of the Server.

getCumulPageConnections

java.lang.Long getCumulPageConnections()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Internal Web Server Connections opened in the life of the Server.

getCumulPageDisconnections

java.lang.Long getCumulPageDisconnections()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Internal Web Server Connections closed in the life of the Server.

getCumulPageRequestsFailed

java.lang.Long getCumulPageRequestsFailed()
[TO BE IMPLEMENTED]

Returns:
The total (cumulative) number of Internal Web Server Connection requests failed in the life of the Server.

getNewPageConnections

java.lang.Integer getNewPageConnections()
[TO BE IMPLEMENTED]

Returns:
The number of Internal Web Server Connections opened in the last sampling period.

getNewPageDisconnections

java.lang.Integer getNewPageDisconnections()
[TO BE IMPLEMENTED]

Returns:
The number of Internal Web Server Connections closed in the last sampling period.

getCurrentSockets

java.lang.Integer getCurrentSockets()
Returns:
The number of current Connection sockets; it comprises Stream, Polling, Control, Web Server and unrecognized requests.

getMaxSockets

java.lang.Integer getMaxSockets()
Returns:
The maximum number of concurrent Connection sockets reached in the life of the Server; it comprises Stream, Polling, Control, Web Server and unrecognized requests.

getCumulConnections

java.lang.Long getCumulConnections()
Returns:
The total (cumulative) number of Connections opened in the life of the Server; it comprises Stream, Polling, Control, Web Server and unrecognized requests.

getCumulHTTPConnections

java.lang.Long getCumulHTTPConnections()
Returns:
The total (cumulative) number of HTTP Connections opened in the life of the Server; it comprises Stream, Polling, Control, Web Server and unrecognized requests.

getCumulHTTPSConnections

java.lang.Long getCumulHTTPSConnections()
Returns:
The total (cumulative) number of HTTPS Connections opened in the life of the Server; it comprises Stream, Polling, Control, Web Server and unrecognized requests.

getCumulDisconnections

java.lang.Long getCumulDisconnections()
Returns:
The total (cumulative) number of Connections closed in the life of the Server; it comprises Stream, Polling, Control, Web Server and unrecognized requests.

getNewConnections

java.lang.Integer getNewConnections()
Returns:
The number of Connections opened in the last sampling period; it comprises Stream, Polling, Control, Web Server and unrecognized requests.

getNewDisconnections

java.lang.Integer getNewDisconnections()
Returns:
The number of Connections closed in the last sampling period; it comprises Stream, Polling, Control, Web Server and unrecognized requests.