Class NamespaceProperties.WorkflowCacheProperties
java.lang.Object
io.temporal.spring.boot.autoconfigure.properties.NamespaceProperties.WorkflowCacheProperties
- Enclosing class:
NamespaceProperties
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowCacheProperties(Integer maxInstances, Integer maxThreads, Boolean usingVirtualWorkflowThreads) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
WorkflowCacheProperties
@ConstructorBinding public WorkflowCacheProperties(@Nullable Integer maxInstances, @Nullable Integer maxThreads, @Nullable Boolean usingVirtualWorkflowThreads) - Parameters:
maxInstances- max number of workflow instances in the cache. DefinesWorkerFactoryOptions.Builder.setWorkflowCacheSize(int)maxThreads- max number of workflow threads in the cache. DefinesWorkerFactoryOptions.Builder.setMaxWorkflowThreadCount(int)usingVirtualWorkflowThreads- whether to enable virtual workflow threads. DefinesWorkerFactoryOptions.Builder.setUsingVirtualWorkflowThreads(boolean)
-
-
Method Details
-
getMaxInstances
-
getMaxThreads
-
isUsingVirtualWorkflowThreads
-