public class HadoopSliceStats extends FlowSliceStats<HadoopSliceStats.Kind> implements ProvidesCounters
Modifier and Type | Class and Description |
---|---|
static class |
HadoopSliceStats.HadoopAttempt |
static class |
HadoopSliceStats.Kind |
FlowSliceStats.FlowSliceAttempt
Modifier and Type | Method and Description |
---|---|
void |
addAttempt(TaskCompletionEvent event) |
java.util.Map<java.lang.Integer,FlowSliceStats.FlowSliceAttempt> |
getAttempts() |
java.util.Collection<java.lang.String> |
getCounterGroups() |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> |
getCounters() |
java.util.Collection<java.lang.String> |
getCountersFor(java.lang.Class<? extends java.lang.Enum> group) |
java.util.Collection<java.lang.String> |
getCountersFor(java.lang.String group) |
long |
getCounterValue(java.lang.Enum counter) |
long |
getCounterValue(java.lang.String group,
java.lang.String name) |
java.lang.String[] |
getDiagnostics() |
java.lang.String |
getID() |
HadoopSliceStats.Kind |
getKind() |
long |
getLastSuccessfulCounterFetchTime() |
CascadingStats.Status |
getParentStatus() |
long |
getProcessFinishTime() |
java.lang.String |
getProcessNodeID() |
float |
getProcessProgress() |
java.lang.String |
getProcessSliceID() |
long |
getProcessStartTime() |
java.lang.String |
getProcessStatus() |
java.lang.String |
getProcessStepID() |
float |
getProgress() |
CascadingStats.Status |
getStatus() |
int |
getTaskIDNum() |
protected TaskReport |
getTaskReport() |
void |
setLastFetch(long lastFetch) |
java.lang.String |
toString() |
void |
update(CascadingStats.Status parentStatus,
HadoopSliceStats.Kind kind,
TaskReport taskReport,
long lastFetch) |
getProcessID, getProcessPendingTime, getProcessRunTime, getProcessSubmitTime
public void update(CascadingStats.Status parentStatus, HadoopSliceStats.Kind kind, TaskReport taskReport, long lastFetch)
public java.lang.String getID()
getID
in class FlowSliceStats<HadoopSliceStats.Kind>
public HadoopSliceStats.Kind getKind()
getKind
in class FlowSliceStats<HadoopSliceStats.Kind>
public java.lang.String getProcessSliceID()
getProcessSliceID
in class FlowSliceStats<HadoopSliceStats.Kind>
public int getTaskIDNum()
public java.lang.String getProcessNodeID()
getProcessNodeID
in class FlowSliceStats<HadoopSliceStats.Kind>
public java.lang.String getProcessStepID()
getProcessStepID
in class FlowSliceStats<HadoopSliceStats.Kind>
protected TaskReport getTaskReport()
public float getProgress()
public java.lang.String getProcessStatus()
getProcessStatus
in class FlowSliceStats<HadoopSliceStats.Kind>
public float getProcessProgress()
getProcessProgress
in class FlowSliceStats<HadoopSliceStats.Kind>
public long getProcessStartTime()
getProcessStartTime
in class FlowSliceStats<HadoopSliceStats.Kind>
public long getProcessFinishTime()
getProcessFinishTime
in class FlowSliceStats<HadoopSliceStats.Kind>
public CascadingStats.Status getParentStatus()
public CascadingStats.Status getStatus()
getStatus
in class FlowSliceStats<HadoopSliceStats.Kind>
public java.lang.String[] getDiagnostics()
getDiagnostics
in class FlowSliceStats<HadoopSliceStats.Kind>
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> getCounters()
getCounters
in class FlowSliceStats<HadoopSliceStats.Kind>
public java.util.Map<java.lang.Integer,FlowSliceStats.FlowSliceAttempt> getAttempts()
getAttempts
in class FlowSliceStats<HadoopSliceStats.Kind>
public void setLastFetch(long lastFetch)
public long getLastSuccessfulCounterFetchTime()
getLastSuccessfulCounterFetchTime
in interface ProvidesCounters
public java.util.Collection<java.lang.String> getCounterGroups()
getCounterGroups
in interface ProvidesCounters
public java.util.Collection<java.lang.String> getCountersFor(java.lang.String group)
getCountersFor
in interface ProvidesCounters
public java.util.Collection<java.lang.String> getCountersFor(java.lang.Class<? extends java.lang.Enum> group)
getCountersFor
in interface ProvidesCounters
public long getCounterValue(java.lang.Enum counter)
getCounterValue
in interface ProvidesCounters
public long getCounterValue(java.lang.String group, java.lang.String name)
getCounterValue
in interface ProvidesCounters
public void addAttempt(TaskCompletionEvent event)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.