Class NamespaceProperties.WorkflowCacheProperties

  • Enclosing class:
    NamespaceProperties

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

      Constructors 
      Constructor Description
      WorkflowCacheProperties​(java.lang.Integer maxInstances, java.lang.Integer maxThreads)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getMaxInstances()  
      java.lang.Integer getMaxThreads()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkflowCacheProperties

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

      • getMaxInstances

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

        @Nullable
        public java.lang.Integer getMaxThreads()