public class FlowStats extends CascadingStats
Flow
specific statistics.CascadingStats.Status
clientState, STATS_STORE_INTERVAL
Constructor and Description |
---|
FlowStats(Flow flow,
ClientState clientState) |
Modifier and Type | Method and Description |
---|---|
void |
addStepStats(FlowStepStats flowStepStats) |
void |
captureDetail()
Method captureDetail will recursively capture details about nested systems.
|
java.lang.String |
getAppID() |
java.lang.String |
getAppName() |
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.
|
java.util.Map<java.lang.Object,java.lang.Object> |
getFlowProperties() |
java.util.List<FlowStepStats> |
getFlowStepStats()
Method getStepStats returns the stepStats owned by this FlowStats.
|
java.lang.String |
getID()
Method getID returns the ID of this CascadingStats object.
|
protected java.lang.String |
getStatsString() |
int |
getStepsCount()
Method getStepsCount returns the number of steps this Flow executed.
|
void |
recordInfo() |
java.lang.String |
toString() |
cleanup, getCountersFor, getCurrentDuration, getDuration, getFinishedTime, getName, getPendingTime, getRunTime, getStartTime, 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 FlowStats(Flow flow, ClientState clientState)
public java.util.Map<java.lang.Object,java.lang.Object> getFlowProperties()
public java.lang.String getAppID()
public java.lang.String getAppName()
public java.lang.String getID()
CascadingStats
getID
in class CascadingStats
public void recordInfo()
recordInfo
in class CascadingStats
public void addStepStats(FlowStepStats flowStepStats)
public java.util.List<FlowStepStats> getFlowStepStats()
public int getStepsCount()
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 captureDetail()
CascadingStats
captureDetail
in class CascadingStats
public java.util.Collection getChildren()
CascadingStats
getChildren
in class CascadingStats
protected java.lang.String getStatsString()
getStatsString
in class CascadingStats
public java.lang.String toString()
toString
in class CascadingStats