Class WorkerFactoryOptions
java.lang.Object
io.temporal.worker.WorkerFactoryOptions
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkerFactoryOptionsintReturns the worker plugins configured for this factory.Returns the interval between polls when checking for executor termination during shutdown.intintDeprecated.not used anymore by JavaSDK, this value doesn't have any effectbooleanbooleanstatic WorkerFactoryOptions.Builderstatic WorkerFactoryOptions.BuildernewBuilder(WorkerFactoryOptions options)
-
Method Details
-
newBuilder
-
newBuilder
-
getDefaultInstance
-
getWorkflowCacheSize
public int getWorkflowCacheSize() -
getMaxWorkflowThreadCount
public int getMaxWorkflowThreadCount() -
getWorkflowHostLocalTaskQueueScheduleToStartTimeout
-
getWorkerInterceptors
-
getPlugins
Returns the worker plugins configured for this factory.- Returns:
- the array of worker plugins, never null
-
isEnableLoggingInReplay
public boolean isEnableLoggingInReplay() -
isUsingVirtualWorkflowThreads
-
getShutdownCheckInterval
Returns the interval between polls when checking for executor termination during shutdown.- Returns:
- the configured shutdown check interval
-
getWorkflowHostLocalPollThreadCount
Deprecated.not used anymore by JavaSDK, this value doesn't have any effect -
toBuilder
-