|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.flow.BaseFlow<Properties>
cascading.flow.local.LocalFlow
public class LocalFlow
Class LocalFlow is the local mode specific implementation of a Flow
.
LocalFlowConnector
instance.
If classpath paths are provided on the FlowDef
, the context classloader used to internally urn the current
Flow will be swapped out with an URLClassLoader pointing to each element.
LocalFlowConnector
Nested Class Summary |
---|
Nested classes/interfaces inherited from class cascading.flow.BaseFlow |
---|
cascading.flow.BaseFlow.FlowHolder |
Field Summary |
---|
Fields inherited from class cascading.flow.BaseFlow |
---|
flowStats, shutdownHook, sinks, sources, stop, stopJobsOnExit, thread |
Fields inherited from interface cascading.flow.Flow |
---|
CASCADING_FLOW_ID |
Constructor Summary | |
---|---|
LocalFlow(cascading.flow.planner.PlatformInfo platformInfo,
Map<Object,Object> properties,
Properties config,
cascading.flow.FlowDef flowDef)
|
Method Summary | |
---|---|
protected Thread |
createFlowThread(String threadName)
|
Properties |
getConfig()
|
Map<Object,Object> |
getConfigAsProperties()
|
Properties |
getConfigCopy()
|
cascading.flow.FlowProcess<Properties> |
getFlowProcess()
|
protected int |
getMaxNumParallelSteps()
|
String |
getProperty(String key)
|
protected void |
initConfig(Map<Object,Object> properties,
Properties parentConfig)
|
protected void |
internalClean(boolean stop)
|
protected void |
internalShutdown()
|
protected void |
internalStart()
|
protected Properties |
newConfig(Properties defaultConfig)
|
protected void |
setConfigProperty(Properties properties,
Object key,
Object value)
|
boolean |
stepsAreLocal()
|
Methods inherited from class cascading.flow.BaseFlow |
---|
addListener, addStepListener, areSinksStale, areSourcesNewer, cleanup, complete, createConfig, deleteCheckpointsIfNotUpdate, deleteCheckpointsIfReplace, deleteSinks, deleteSinksIfNotUpdate, deleteSinksIfReplace, deleteTrapsIfNotUpdate, deleteTrapsIfReplace, fireOnCompleted, fireOnStarting, fireOnStopping, fireOnThrowable, getCascadeID, getCascadingServices, getCheckpointNames, getCheckpoints, getCheckpointsCollection, getClassPath, getFieldsFor, getFlowSession, getFlowSkipStrategy, getFlowStats, getFlowSteps, getFlowStepStrategy, getHolder, getID, getName, getPlatformInfo, getRunID, getSink, getSink, getSinkModified, getSinkNames, getSinks, getSinksCollection, getSource, getSourceNames, getSources, getSourcesCollection, getSpawnStrategy, getStats, getSubmitPriority, getTags, getTrapNames, getTraps, getTrapsCollection, handleExecutorShutdown, hasListeners, hasStepListeners, initFromProperties, initialize, initializeNewJobsMap, initSteps, internalStopAllJobs, isSkipFlow, isStopJobsOnExit, logInfo, openSink, openSink, openSource, openSource, openTapForRead, openTapForWrite, openTrap, openTrap, prepare, presentSinkFields, presentSourceFields, registerShutdownHook, removeListener, removeStepListener, resourceExists, retrieveSinkFields, retrieveSourceFields, setCascade, setCheckpoints, setFlowSkipStrategy, setFlowStepGraph, setFlowStepStrategy, setName, setSinks, setSources, setSpawnStrategy, setSubmitPriority, setTraps, start, stop, toString, updateSchemes, writeDOT, writeStepsDOT |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LocalFlow(cascading.flow.planner.PlatformInfo platformInfo, Map<Object,Object> properties, Properties config, cascading.flow.FlowDef flowDef)
Method Detail |
---|
protected void initConfig(Map<Object,Object> properties, Properties parentConfig)
initConfig
in class cascading.flow.BaseFlow<Properties>
protected void setConfigProperty(Properties properties, Object key, Object value)
setConfigProperty
in class cascading.flow.BaseFlow<Properties>
protected Properties newConfig(Properties defaultConfig)
newConfig
in class cascading.flow.BaseFlow<Properties>
public Properties getConfig()
public Properties getConfigCopy()
public Map<Object,Object> getConfigAsProperties()
public String getProperty(String key)
public cascading.flow.FlowProcess<Properties> getFlowProcess()
protected void internalStart()
internalStart
in class cascading.flow.BaseFlow<Properties>
protected Thread createFlowThread(String threadName)
createFlowThread
in class cascading.flow.BaseFlow<Properties>
protected void internalClean(boolean stop)
internalClean
in class cascading.flow.BaseFlow<Properties>
public boolean stepsAreLocal()
protected int getMaxNumParallelSteps()
getMaxNumParallelSteps
in class cascading.flow.BaseFlow<Properties>
protected void internalShutdown()
internalShutdown
in class cascading.flow.BaseFlow<Properties>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |