Class ResourcesConfig

    • Constructor Detail

      • ResourcesConfig

        public ResourcesConfig()
    • Method Detail

      • isResourceAwareSchedulingEnabled

        @Lazy
        public boolean isResourceAwareSchedulingEnabled()
      • getResourceAmountsPerRuleType

        @Lazy
        public com.google.common.collect.ImmutableMap<String,​ResourceAmounts> getResourceAmountsPerRuleType()
      • getManagedThreadCount

        @Lazy
        public int getManagedThreadCount()
      • getDefaultResourceAmounts

        @Lazy
        public ResourceAmounts getDefaultResourceAmounts()
      • getMaximumResourceAmounts

        @Lazy
        public ResourceAmounts getMaximumResourceAmounts()
      • getConcurrencyLimit

        @Lazy
        public ConcurrencyLimit getConcurrencyLimit()
        Construct a default ConcurrencyLimit instance from this config.
        Returns:
        New instance of ConcurrencyLimit.