public class LocalStepStats extends FlowStepStats
CascadingStats.Status
clientState, STATS_STORE_INTERVAL
Constructor and Description |
---|
LocalStepStats(FlowStep<java.util.Properties> flowStep,
ClientState clientState)
Constructor CascadingStats creates a new CascadingStats instance.
|
Modifier and Type | Method and Description |
---|---|
void |
captureDetail()
Method captureDetail will recursively capture details about nested systems.
|
java.util.Collection |
getChildren()
Method getChildren returns any relevant child statistics instances.
|
java.util.Collection<java.lang.String> |
getCounterGroups()
Method getCounterGroups returns all the available counter group names.
|
java.util.Collection<java.lang.String> |
getCounterGroupsMatching(java.lang.String regex)
Method getCounterGroupsMatching returns all the available counter group names that match
the given regular expression.
|
java.util.Collection<java.lang.String> |
getCountersFor(java.lang.String group)
Method getCountersFor returns all the counter names for the give group name.
|
long |
getCounterValue(java.lang.Enum counter)
Method getCounter returns the current value for the given counter Enum.
|
long |
getCounterValue(java.lang.String group,
java.lang.String counter)
Method getCounter returns the current value for the given group and counter.
|
void |
increment(java.lang.Enum counter,
long amount) |
void |
increment(java.lang.String group,
java.lang.String counter,
long amount) |
void |
recordChildStats() |
getFlowStep, getID, recordInfo, toString
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
public LocalStepStats(FlowStep<java.util.Properties> flowStep, ClientState clientState)
public void recordChildStats()
recordChildStats
in class FlowStepStats
public java.util.Collection<java.lang.String> getCounterGroups()
CascadingStats
getCounterGroups
in class CascadingStats
public java.util.Collection<java.lang.String> getCounterGroupsMatching(java.lang.String regex)
CascadingStats
getCounterGroupsMatching
in class CascadingStats
regex
- of type Stringpublic java.util.Collection<java.lang.String> getCountersFor(java.lang.String group)
CascadingStats
getCountersFor
in class CascadingStats
public long getCounterValue(java.lang.Enum counter)
CascadingStats
getCounterValue
in class CascadingStats
counter
- of type Enumpublic long getCounterValue(java.lang.String group, java.lang.String counter)
CascadingStats
getCounterValue
in class CascadingStats
group
- of type Stringcounter
- of type Stringpublic void increment(java.lang.Enum counter, long amount)
public void increment(java.lang.String group, java.lang.String counter, long amount)
public void captureDetail()
CascadingStats
captureDetail
in class CascadingStats
public java.util.Collection getChildren()
CascadingStats
getChildren
in class CascadingStats