Package com.tangosol.net
Interface ServiceLoad
- 
- All Superinterfaces:
- Comparable
 - All Known Subinterfaces:
- ProxyServiceLoad
 
 public interface ServiceLoad extends Comparable A ServiceLoad encapsulates information about the current utilization of a Service. It can be used to implement load balancing algorithms that control the distribution of clients across individual instances of a clustered Service.- Since:
- Coherence 3.7
- Author:
- jh 2010.12.07
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetConnectionCount()Return the connection count.intgetConnectionLimit()Return the maximum number of simultaneous connections allowed.intgetConnectionPendingCount()Return the number of connections that are pending.intgetDaemonActiveCount()Return the number of daemon threads that are currently processing messages.intgetDaemonCount()Return number of daemon threads that are used to process messages.intgetMessageBacklogIncoming()Return the number of messages that are queued for processing.intgetMessageBacklogOutgoing()Return the number of messages that are queued for delivery.- 
Methods inherited from interface java.lang.ComparablecompareTo
 
- 
 
- 
- 
- 
Method Detail- 
getConnectionCountint getConnectionCount() Return the connection count.- Returns:
- the number of connected clients
 
 - 
getConnectionPendingCountint getConnectionPendingCount() Return the number of connections that are pending.- Returns:
- the number of pending connections
 
 - 
getConnectionLimitint getConnectionLimit() Return the maximum number of simultaneous connections allowed. Valid values are positive integers and zero. A value of zero implies no limit.- Returns:
- the maximum number of connections
 
 - 
getDaemonCountint getDaemonCount() Return number of daemon threads that are used to process messages.- Returns:
- the number of daemon threads
 
 - 
getDaemonActiveCountint getDaemonActiveCount() Return the number of daemon threads that are currently processing messages.- Returns:
- the number of active daemon threads
 
 - 
getMessageBacklogIncomingint getMessageBacklogIncoming() Return the number of messages that are queued for processing.- Returns:
- the number of outstanding incoming messages
 
 - 
getMessageBacklogOutgoingint getMessageBacklogOutgoing() Return the number of messages that are queued for delivery.- Returns:
- the number of outstanding outgoing messages
 
 
- 
 
-