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 class
Returns the defaultScheduledExecutorService
to 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 TypeMethodDescriptionTheScheduledExecutorService
instance to use to create threads, can be overridden to specify aScheduledExecutorService
that is compatible with the user's environment.void
Methods inherited from interface org.apache.beam.sdk.transforms.display.HasDisplayData
populateDisplayData
Methods inherited from interface org.apache.beam.sdk.options.PipelineOptions
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
-
Method Details
-
getScheduledExecutorService
@InstanceFactory(ScheduledExecutorServiceFactory.class) @Hidden ScheduledExecutorService getScheduledExecutorService()TheScheduledExecutorService
instance to use to create threads, can be overridden to specify aScheduledExecutorService
that is compatible with the user's environment. If unset, the default is to create anUnboundedScheduledExecutorService
. -
setScheduledExecutorService
-