Package org.apache.beam.sdk.options
Interface ExecutorOptions
- All Superinterfaces:
HasDisplayData,PipelineOptions
Options for configuring the
ScheduledExecutorService used throughout the Java runtime.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classReturns the defaultScheduledExecutorServiceto use within the Apache Beam SDK.Nested classes/interfaces inherited from interface org.apache.beam.sdk.options.PipelineOptions
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory -
Method Summary
Modifier and TypeMethodDescriptionTheScheduledExecutorServiceinstance to use to create threads, can be overridden to specify aScheduledExecutorServicethat is compatible with the user's environment.voidMethods inherited from interface org.apache.beam.sdk.transforms.display.HasDisplayData
populateDisplayDataMethods inherited from interface org.apache.beam.sdk.options.PipelineOptions
as, getGbek, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setGbek, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
-
Method Details
-
getScheduledExecutorService
@InstanceFactory(ScheduledExecutorServiceFactory.class) @Hidden ScheduledExecutorService getScheduledExecutorService()TheScheduledExecutorServiceinstance to use to create threads, can be overridden to specify aScheduledExecutorServicethat is compatible with the user's environment. If unset, the default is to create anUnboundedScheduledExecutorService. -
setScheduledExecutorService
-