public interface InProcessPipelineOptions extends PipelineOptions, ApplicationNameOptions
InProcessPipelineRunner.PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled| Modifier and Type | Method and Description |
|---|---|
Clock |
getClock()
Deprecated.
the runner manages its own
Clock as an implementation detail |
ExecutorServiceFactory |
getExecutorServiceFactory()
Deprecated.
the runner manages its own
ExecutorService as an implementation detail |
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, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, outputRuntimeOptions, setOptionsId, setRunner, setStableUniqueNames, setTempLocationpopulateDisplayData@Deprecated @Hidden ExecutorServiceFactory getExecutorServiceFactory()
ExecutorService as an implementation detailExecutorServiceFactory to use to create instances of ExecutorService
to execute PTransforms.
Defaults to a FixedThreadPoolExecutorServiceFactory, which produces instances of
Executors.newCachedThreadPool().
void setExecutorServiceFactory(ExecutorServiceFactory executorService)
@Deprecated @Hidden Clock getClock()
Clock as an implementation detailClock 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)