public interface InProcessPipelineOptions extends PipelineOptions, ApplicationNameOptions
InProcessPipelineRunner.PipelineOptions.CheckEnabled| Modifier and Type | Method and Description |
|---|---|
Clock |
getClock()
Gets the
Clock used by this pipeline. |
ExecutorServiceFactory |
getExecutorServiceFactory()
Gets the
ExecutorServiceFactory to use to create instances of ExecutorService
to execute PTransforms. |
boolean |
isBlockOnRun() |
boolean |
isShutdownUnboundedProducersWithMaxWatermark() |
boolean |
isTestImmutability() |
void |
setBlockOnRun(boolean b) |
void |
setClock(Clock clock) |
void |
setExecutorServiceFactory(ExecutorServiceFactory executorService) |
void |
setShutdownUnboundedProducersWithMaxWatermark(boolean shutdown) |
void |
setTestImmutability(boolean test) |
getAppName, setAppNameas, cloneAs, getRunner, getStableUniqueNames, getTempLocation, setRunner, setStableUniqueNames, setTempLocationpopulateDisplayData@Validation.Required @Hidden @Default.InstanceFactory(value=com.google.cloud.dataflow.sdk.runners.inprocess.FixedThreadPoolExecutorServiceFactory.class) ExecutorServiceFactory getExecutorServiceFactory()
ExecutorServiceFactory to use to create instances of ExecutorService
to execute PTransforms.
Note that ExecutorServices returned by the factory must ensure that
it cannot enter a state in which it will not schedule additional pending work unless currently
scheduled work completes, as this may cause the Pipeline to cease processing.
Defaults to a FixedThreadPoolExecutorServiceFactory, which produces instances of
Executors.newCachedThreadPool().
void setExecutorServiceFactory(ExecutorServiceFactory executorService)
@Default.InstanceFactory(value=NanosOffsetClock.Factory.class) @Validation.Required @Hidden Clock getClock()
Clock used by this pipeline. The clock is used in place of accessing the
system time when time values are required by the evaluator.void setClock(Clock clock)
@Default.Boolean(value=false) boolean isShutdownUnboundedProducersWithMaxWatermark()
void setShutdownUnboundedProducersWithMaxWatermark(boolean shutdown)
@Default.Boolean(value=true) boolean isBlockOnRun()
void setBlockOnRun(boolean b)
@Default.Boolean(value=true) boolean isTestImmutability()
void setTestImmutability(boolean test)