Class NamespaceProperties.WorkflowCacheProperties

  • Enclosing class:
    NamespaceProperties

    public static class NamespaceProperties.WorkflowCacheProperties
    extends java.lang.Object
    • Constructor Detail

      • WorkflowCacheProperties

        @ConstructorBinding
        public WorkflowCacheProperties​(@Nullable
                                       java.lang.Integer maxInstances,
                                       @Nullable
                                       java.lang.Integer maxThreads,
                                       @Nullable
                                       java.lang.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 Detail

      • getMaxInstances

        @Nullable
        public java.lang.Integer getMaxInstances()
      • getMaxThreads

        @Nullable
        public java.lang.Integer getMaxThreads()
      • isUsingVirtualWorkflowThreads

        @Nullable
        public java.lang.Boolean isUsingVirtualWorkflowThreads()