|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.flow.planner.FlowStepJob<Config>
public abstract class FlowStepJob<Config>
Field Summary | |
---|---|
protected BaseFlowStep<Config> |
flowStep
Field flowStep |
protected FlowStepStats |
flowStepStats
Field stepStats |
protected long |
pollingInterval
Field pollingInterval |
protected List<FlowStepJob<Config>> |
predecessors
Field predecessors |
protected long |
statsStoreInterval
Field recordStatsInterval |
protected String |
stepName
Field stepName |
protected Throwable |
throwable
Field throwable |
Constructor Summary | |
---|---|
FlowStepJob(ClientState clientState,
BaseFlowStep flowStep,
long pollingInterval,
long statsStoreInterval)
|
Method Summary | |
---|---|
protected void |
blockOnJob()
|
protected void |
blockOnPredecessors()
|
protected void |
blockTillCompleteOrStopped()
|
Throwable |
call()
|
protected abstract FlowStepStats |
createStepStats(ClientState clientState)
|
protected abstract void |
dumpDebugInfo()
|
abstract Config |
getConfig()
|
FlowStepStats |
getStepStats()
Method getStepStats returns the stepStats of this FlowStepJob object. |
protected abstract Throwable |
getThrowable()
|
protected abstract void |
internalBlockOnStop()
|
protected abstract boolean |
internalIsStarted()
|
protected abstract String |
internalJobId()
|
protected abstract boolean |
internalNonBlockingIsComplete()
|
protected abstract boolean |
internalNonBlockingIsSuccessful()
|
protected abstract void |
internalNonBlockingStart()
|
protected abstract boolean |
isRemoteExecution()
|
protected boolean |
isSkipFlowStep()
|
boolean |
isStarted()
Method wasStarted returns true if this job was started |
boolean |
isSuccessful()
Method isSuccessful returns true if this step completed successfully or was skipped. |
void |
setPredecessors(List<FlowStepJob<Config>> predecessors)
|
protected void |
sleepForPollingInterval()
|
protected void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final String stepName
protected long pollingInterval
protected long statsStoreInterval
protected List<FlowStepJob<Config>> predecessors
protected final BaseFlowStep<Config> flowStep
protected FlowStepStats flowStepStats
protected Throwable throwable
Constructor Detail |
---|
public FlowStepJob(ClientState clientState, BaseFlowStep flowStep, long pollingInterval, long statsStoreInterval)
Method Detail |
---|
public abstract Config getConfig()
protected abstract FlowStepStats createStepStats(ClientState clientState)
public void stop()
protected abstract void internalBlockOnStop() throws IOException
IOException
public void setPredecessors(List<FlowStepJob<Config>> predecessors)
public Throwable call()
call
in interface Callable<Throwable>
protected void start()
protected boolean isSkipFlowStep() throws IOException
IOException
protected void blockOnJob() throws IOException
IOException
protected abstract boolean isRemoteExecution()
protected abstract String internalJobId()
protected abstract boolean internalNonBlockingIsSuccessful() throws IOException
IOException
protected abstract Throwable getThrowable()
protected abstract void internalNonBlockingStart() throws IOException
IOException
protected void blockTillCompleteOrStopped() throws IOException
IOException
protected abstract boolean internalNonBlockingIsComplete() throws IOException
IOException
protected void sleepForPollingInterval()
protected void blockOnPredecessors()
protected abstract void dumpDebugInfo()
public boolean isSuccessful()
public boolean isStarted()
protected abstract boolean internalIsStarted()
public FlowStepStats getStepStats()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |