Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.net.proxy
Interface ProxyServiceLoad

All Superinterfaces:
java.lang.Comparable

public interface ProxyServiceLoad
extends java.lang.Comparable

A ProxyServiceLoad encapsulates information about the current utilization of a ProxyService. It can be used to implement load balancing algorithms that control the distribution of clients across individual instances of a clustered ProxyService.

Since:
Coherence 3.7
Author:
jh 2010.12.07
See Also:
ProxyServiceLoadBalancer

Method Summary
 int getConnectionCount()
          Return the connection count.
 int getConnectionLimit()
          Return the maximum number of simultaneous connections allowed.
 int getConnectionPendingCount()
          Return the number of connections that are pending.
 int getDaemonActiveCount()
          Return the number of daemon threads that are currently processing messages.
 int getDaemonCount()
          Return number of daemon threads that are used to process messages.
 int getMessageBacklogIncoming()
          Return the number of messages that are queued for processing.
 int getMessageBacklogOutgoing()
          Return the number of messages that are queued for delivery.

 

Methods inherited from interface java.lang.Comparable
compareTo

 

Method Detail

getConnectionCount

int getConnectionCount()
Return the connection count.
Returns:
the number of connected clients

getConnectionPendingCount

int getConnectionPendingCount()
Return the number of connections that are pending.
Returns:
the number of pending connections

getConnectionLimit

int 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

getDaemonCount

int getDaemonCount()
Return number of daemon threads that are used to process messages.
Returns:
the number of daemon threads

getDaemonActiveCount

int getDaemonActiveCount()
Return the number of daemon threads that are currently processing messages.
Returns:
the number of active daemon threads

getMessageBacklogIncoming

int getMessageBacklogIncoming()
Return the number of messages that are queued for processing.
Returns:
the number of outstanding incoming messages

getMessageBacklogOutgoing

int getMessageBacklogOutgoing()
Return the number of messages that are queued for delivery.
Returns:
the number of outstanding outgoing messages

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.