|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.stats.CascadingStats cascading.stats.CascadeStats
public class CascadeStats
Class CascadeStats collects Cascade
specific statistics.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class cascading.stats.CascadingStats |
---|
CascadingStats.Status |
Field Summary |
---|
Fields inherited from class cascading.stats.CascadingStats |
---|
clientState, STATS_STORE_INTERVAL |
Constructor Summary | |
---|---|
CascadeStats(Cascade cascade,
ClientState clientState)
|
Method Summary | |
---|---|
void |
addFlowStats(FlowStats flowStats)
Method addFlowStats add a child Flow {2link FlowStats} instance. |
void |
captureDetail()
Method captureDetail will recursively capture details about nested systems. |
Collection |
getChildren()
Method getChildren returns any relevant child statistics instances. |
Collection<String> |
getCounterGroups()
Method getCounterGroups returns all the available counter group names. |
Collection<String> |
getCounterGroupsMatching(String regex)
Method getCounterGroupsMatching returns all the available counter group names that match the given regular expression. |
Collection<String> |
getCountersFor(String group)
Method getCountersFor returns all the counter names for the give group name. |
long |
getCounterValue(Enum counter)
Method getCounter returns the current value for the given counter Enum. |
long |
getCounterValue(String group,
String counter)
Method getCounter returns the current value for the given group and counter. |
int |
getFlowCount()
Method getFlowCount returns the number of Flow s executed by the Cascade. |
String |
getID()
Method getID returns the ID of this CascadingStats object. |
void |
recordInfo()
|
String |
toString()
|
Methods inherited from class cascading.stats.CascadingStats |
---|
cleanup, getCountersFor, getCurrentDuration, getDuration, getFinishedTime, getName, getPendingTime, getRunTime, getStartTime, getStatsString, getStatus, getSubmitTime, getThrowable, isEngaged, isFailed, isFinished, isPending, isRunning, isSkipped, isStarted, isStopped, isSubmitted, isSuccessful, markFailed, markPending, markPendingTime, markRunning, markRunTime, markSkipped, markStarted, markStartedThenRunning, markStartTime, markStartToRunTime, markStopped, markSubmitted, markSubmitTime, markSuccessful, prepare, recordStats, setStatsStoreInterval |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CascadeStats(Cascade cascade, ClientState clientState)
Method Detail |
---|
public String getID()
CascadingStats
getID
in class CascadingStats
public void recordInfo()
recordInfo
in class CascadingStats
public void addFlowStats(FlowStats flowStats)
Flow
{2link FlowStats} instance.
flowStats
- of type FlowStatspublic int getFlowCount()
Flow
s executed by the Cascade.
public Collection<String> getCounterGroups()
CascadingStats
getCounterGroups
in class CascadingStats
public Collection<String> getCounterGroupsMatching(String regex)
CascadingStats
getCounterGroupsMatching
in class CascadingStats
regex
- of type String
public Collection<String> getCountersFor(String group)
CascadingStats
getCountersFor
in class CascadingStats
public long getCounterValue(Enum counter)
CascadingStats
getCounterValue
in class CascadingStats
counter
- of type Enum
public long getCounterValue(String group, String counter)
CascadingStats
getCounterValue
in class CascadingStats
group
- of type Stringcounter
- of type String
public void captureDetail()
CascadingStats
captureDetail
in class CascadingStats
public Collection getChildren()
CascadingStats
getChildren
in class CascadingStats
public String toString()
toString
in class CascadingStats
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |