com.sun.sgs.management
Interface AffinityGraphBuilderMXBean

All Known Implementing Classes:
AffinityGraphBuilderStats

public interface AffinityGraphBuilderMXBean

The management interface for the affinity graph builder.


Field Summary
static String MXBEAN_NAME
          The name for uniquely identifying this MBean.
 
Method Summary
 long getNumberEdges()
          Returns the number of edges in the affinity graph.
 long getNumberVertices()
          Returns the number of vertices in the affinity graph.
 long getProcessingTime()
          Returns the time, in milliseconds, spent processing the affinity graph due to modifications such as updates or pruning.
 long getPruneCount()
          Returns the number of times the affinity graph has been pruned to remove dead data.
 int getSnapshotCount()
          Returns the configured number of full snapshots to consider live.
 long getSnapshotPeriod()
          Returns the configured time, in milliseconds, for each snapshot.
 long getUpdateCount()
          Returns the number of updates made to the affinity graph, which add graph data.
 

Field Detail

MXBEAN_NAME

static final String MXBEAN_NAME
The name for uniquely identifying this MBean.

See Also:
Constant Field Values
Method Detail

getSnapshotPeriod

long getSnapshotPeriod()
Returns the configured time, in milliseconds, for each snapshot.

Returns:
the snapshot time period, in milliseconds

getSnapshotCount

int getSnapshotCount()
Returns the configured number of full snapshots to consider live. Dead snapshots are eventually removed.

Returns:
the number of live snapshots

getNumberVertices

long getNumberVertices()
Returns the number of vertices in the affinity graph.

Returns:
the number of vertices in the affinity graph

getNumberEdges

long getNumberEdges()
Returns the number of edges in the affinity graph.

Returns:
the number of edges in the affinity graph

getUpdateCount

long getUpdateCount()
Returns the number of updates made to the affinity graph, which add graph data.

Returns:
the number of updates made to the affinity graph

getPruneCount

long getPruneCount()
Returns the number of times the affinity graph has been pruned to remove dead data.

Returns:
the number of times the affinity graph has been pruned

getProcessingTime

long getProcessingTime()
Returns the time, in milliseconds, spent processing the affinity graph due to modifications such as updates or pruning.

Returns:
the amount of time spent processing the affinity graph

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved