|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AffinityGroupFinderMXBean
The management interface for the affinity group finder.
| Field Summary | |
|---|---|
static String |
MXBEAN_NAME
The name for uniquely identifying this MBean. |
| Method Summary | |
|---|---|
void |
clear()
Clears all data values. |
void |
findAffinityGroups()
Finds affinity groups based on the current graph information. |
double |
getAvgIterations()
Returns the average number of iterations required for algorithm runs. |
double |
getAvgRunTime()
Returns the average amount of time, in milliseconds, spent in algorithm runs. |
long |
getLastClearTime()
Returns the time of the last call to clear(), or the time
this MBean was created if clear has never been called. |
int |
getMaxIterations()
Returns the max number of iterations for any algorithm run. |
long |
getMaxRunTime()
Returns the maximum amount of time, in milliseconds, spent in an algorithm run. |
long |
getMinRunTime()
Returns the minimum amount of time, in milliseconds, spent in an algorithm run. |
long |
getNumberFailures()
Returns the number of times the affinity group finder has failed, due to errors or node failures during a run. |
long |
getNumberGroups()
Returns the number of groups found in the latest run of the affinity group finder. |
long |
getNumberRuns()
Returns the number of times the affinity group finder has run, including runs that fail. |
long |
getNumberStopped()
Returns the number of times the affinity group finder was stopped due to not converging soon enough. |
int |
getStopIteration()
Returns the configured maximum number of iterations allowed to run before stopping the algorithm and returning the current results. |
| Field Detail |
|---|
static final String MXBEAN_NAME
| Method Detail |
|---|
long getNumberGroups()
long getNumberRuns()
long getNumberFailures()
long getNumberStopped()
double getAvgRunTime()
long getMinRunTime()
long getMaxRunTime()
double getAvgIterations()
int getMaxIterations()
int getStopIteration()
void clear()
long getLastClearTime()
clear(), or the time
this MBean was created if clear has never been called. The
time is the difference, measured in milliseconds, between the time at
which this was last cleared and midnight, January 1, 1970 UTC.
clearvoid findAffinityGroups()
NOTE: This method is useful for testing but may be removed.
|
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 | |||||||||