public class FlowStats extends CascadingStats<FlowStepStats>
Flow
specific statistics.CascadingStats.Status, CascadingStats.Type
clientState, STATS_COMPLETE_CHILD_DETAILS_BLOCK_DURATION, STATS_STORE_INTERVAL
Constructor and Description |
---|
FlowStats(Flow flow,
ClientState clientState) |
Modifier and Type | Method and Description |
---|---|
void |
addStepStats(FlowStepStats flowStepStats) |
void |
captureDetail(CascadingStats.Type depth) |
boolean |
equals(Object object) |
String |
getAppID() |
String |
getAppName() |
Collection<FlowStepStats> |
getChildren()
Method getChildren returns any relevant child statistics instances.
|
FlowStepStats |
getChildWith(String id)
Method getChildWith returns a child stats instance with the given ID value.
|
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.
|
Flow |
getFlow() |
Map<Object,Object> |
getFlowProperties() |
List<FlowStepStats> |
getFlowStepStats()
Method getStepStats returns the stepStats owned by this FlowStats.
|
String |
getID()
Method getID returns the ID of this CascadingStats object.
|
long |
getLastSuccessfulCounterFetchTime()
Method getLastSuccessfulCounterFetchTime returns the time, in millis, the last moment counters
were successfully retrieved.
|
protected ProcessLogger |
getProcessLogger() |
protected String |
getStatsString() |
int |
getStepsCount()
Method getStepsCount returns the number of steps this Flow executed.
|
CascadingStats.Type |
getType() |
int |
hashCode() |
void |
recordInfo() |
String |
toString() |
addListener, captureDetail, cleanup, fireListeners, getCountersFor, getCurrentDuration, getDuration, getFinishedTime, getName, getPendingTime, getRunTime, getStartTime, getStatus, getSubmitTime, getThrowable, getThrowableTrace, isDetailStale, isEngaged, isFailed, isFinished, isPending, isRunning, isSkipped, isStarted, isStopped, isSubmitted, isSuccessful, logDebug, logError, logError, logInfo, logWarn, markDetailCaptured, markFailed, markFailed, markFailed, markFailed, markPending, markPendingTime, markRunning, markRunTime, markSkipped, markStarted, markStartedThenRunning, markStartTime, markStartToRunTime, markStopped, markSubmitted, markSubmitTime, markSuccessful, prepare, recordStats, removeListener, setStatsStoreInterval
public FlowStats(Flow flow, ClientState clientState)
protected ProcessLogger getProcessLogger()
getProcessLogger
in class CascadingStats<FlowStepStats>
public Map<Object,Object> getFlowProperties()
public String getAppName()
public String getID()
CascadingStats
getID
in class CascadingStats<FlowStepStats>
public CascadingStats.Type getType()
getType
in class CascadingStats<FlowStepStats>
public void recordInfo()
recordInfo
in class CascadingStats<FlowStepStats>
public void addStepStats(FlowStepStats flowStepStats)
public List<FlowStepStats> getFlowStepStats()
public int getStepsCount()
public long getLastSuccessfulCounterFetchTime()
ProvidesCounters
CascadingStats.getFinishedTime()
it is likely the
counter service became unavailable.public Collection<String> getCounterGroups()
ProvidesCounters
public Collection<String> getCounterGroupsMatching(String regex)
CascadingStats
getCounterGroupsMatching
in class CascadingStats<FlowStepStats>
regex
- of type Stringpublic Collection<String> getCountersFor(String group)
ProvidesCounters
public long getCounterValue(Enum counter)
ProvidesCounters
counter
- of type Enumpublic long getCounterValue(String group, String counter)
ProvidesCounters
group
- of type Stringcounter
- of type Stringpublic void captureDetail(CascadingStats.Type depth)
captureDetail
in class CascadingStats<FlowStepStats>
public Collection<FlowStepStats> getChildren()
CascadingStats
getChildren
in class CascadingStats<FlowStepStats>
public FlowStepStats getChildWith(String id)
CascadingStats
getChildWith
in class CascadingStats<FlowStepStats>
id
- the id of a child instanceprotected String getStatsString()
getStatsString
in class CascadingStats<FlowStepStats>
public String toString()
toString
in class CascadingStats<FlowStepStats>
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.