Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.util
Class CoherenceInfo

java.lang.Object
  extended by com.jivesoftware.util.CoherenceInfo

public class CoherenceInfo
extends java.lang.Object

A utility class which helps to gather Coherence stats and information.


Nested Class Summary
static class CoherenceInfo.NodeInfo
          Encapsulates statistics and information about a cluster node.
 
Field Summary
static int STATS_CPU_TIME
          CPU time taken in milliseconds.
static int STATS_RECEIVED
          Packets sent to the reciever.
static int STATS_REPEATED
          Repeated packets sent to the receiver.
static int STATS_RESENT
          Packets resent by publisher.
static int STATS_SENT
          Packets sent by publisher.
 
Constructor Summary
CoherenceInfo()
           
 
Method Summary
static void clearCacheStats()
          Clears the cache stats.
static java.util.Map getNodeInfo()
          Returns a Map of CoherenceInfo.NodeInfo objects keyed by Coherence Member objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATS_CPU_TIME

public static final int STATS_CPU_TIME
CPU time taken in milliseconds.

See Also:
Constant Field Values

STATS_SENT

public static final int STATS_SENT
Packets sent by publisher.

See Also:
Constant Field Values

STATS_RESENT

public static final int STATS_RESENT
Packets resent by publisher.

See Also:
Constant Field Values

STATS_RECEIVED

public static final int STATS_RECEIVED
Packets sent to the reciever.

See Also:
Constant Field Values

STATS_REPEATED

public static final int STATS_REPEATED
Repeated packets sent to the receiver.

See Also:
Constant Field Values
Constructor Detail

CoherenceInfo

public CoherenceInfo()
Method Detail

getNodeInfo

public static java.util.Map getNodeInfo()
Returns a Map of CoherenceInfo.NodeInfo objects keyed by Coherence Member objects. A NodeInfo object is a collection of various Node stats.

Returns:
a Map of NodeInfo objects.

clearCacheStats

public static void clearCacheStats()
Clears the cache stats.


Jive Forums Project Page

Copyright © 1999-2006 Jive Software.