|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.StandardMBean
com.sun.sgs.impl.service.nodemap.affinity.graph.AffinityGraphBuilderStats
public class AffinityGraphBuilderStats
The exposed management information for the affinity graph builder.
| Field Summary | |
|---|---|
static String |
CONS_NAME
Our consumer name, created with at ProfileLevel.MEDIUM. |
| Fields inherited from interface com.sun.sgs.management.AffinityGraphBuilderMXBean |
|---|
MXBEAN_NAME |
| Constructor Summary | |
|---|---|
AffinityGraphBuilderStats(ProfileCollector collector,
edu.uci.ics.jung.graph.Graph<?,?> graph,
int snapCount,
long snapPeriod)
Constructs a stats instance. |
|
| Method Summary | |
|---|---|
protected String |
getDescription(MBeanAttributeInfo info)
|
protected String |
getDescription(MBeanInfo info)
|
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. |
void |
processingTimeInc(long inc)
Increments the processing time by the input argument. |
void |
pruneCountInc()
Increments the prune count. |
void |
updateCountInc()
Increments the update count. |
| Methods inherited from class javax.management.StandardMBean |
|---|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONS_NAME
ProfileLevel.MEDIUM.
| Constructor Detail |
|---|
public AffinityGraphBuilderStats(ProfileCollector collector,
edu.uci.ics.jung.graph.Graph<?,?> graph,
int snapCount,
long snapPeriod)
collector - the profile collectorgraph - the graphsnapCount - the configured snapshot countsnapPeriod - the configured snapshot period| Method Detail |
|---|
public long getNumberEdges()
getNumberEdges in interface AffinityGraphBuilderMXBeanpublic long getNumberVertices()
getNumberVertices in interface AffinityGraphBuilderMXBeanpublic long getProcessingTime()
getProcessingTime in interface AffinityGraphBuilderMXBeanpublic long getUpdateCount()
getUpdateCount in interface AffinityGraphBuilderMXBeanpublic long getPruneCount()
getPruneCount in interface AffinityGraphBuilderMXBeanpublic int getSnapshotCount()
getSnapshotCount in interface AffinityGraphBuilderMXBeanpublic long getSnapshotPeriod()
getSnapshotPeriod in interface AffinityGraphBuilderMXBeanprotected String getDescription(MBeanInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanAttributeInfo info)
getDescription in class StandardMBeanpublic void processingTimeInc(long inc)
inc - the amount to increment the processing time bypublic void updateCountInc()
public void pruneCountInc()
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||