Class NamespaceProperties.WorkflowCacheProperties

java.lang.Object
io.temporal.spring.boot.autoconfigure.properties.NamespaceProperties.WorkflowCacheProperties
Enclosing class:
NamespaceProperties

public static class NamespaceProperties.WorkflowCacheProperties extends Object
  • 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. Defines WorkerFactoryOptions.Builder.setWorkflowCacheSize(int)
      maxThreads - max number of workflow threads in the cache. Defines WorkerFactoryOptions.Builder.setMaxWorkflowThreadCount(int)
      usingVirtualWorkflowThreads - whether to enable virtual workflow threads. Defines WorkerFactoryOptions.Builder.setUsingVirtualWorkflowThreads(boolean)
  • Method Details

    • getMaxInstances

      @Nullable public Integer getMaxInstances()
    • getMaxThreads

      @Nullable public Integer getMaxThreads()
    • isUsingVirtualWorkflowThreads

      @Nullable public Boolean isUsingVirtualWorkflowThreads()