Class RedissonNodeFileConfig

  • Direct Known Subclasses:
    RedissonNodeConfig

    public class RedissonNodeFileConfig
    extends Config
    Redisson Node file configuration
    Author:
    Nikita Koksharov
    • Constructor Detail

      • RedissonNodeFileConfig

        public RedissonNodeFileConfig()
      • RedissonNodeFileConfig

        public RedissonNodeFileConfig(Config oldConf)
    • Method Detail

      • setMapReduceWorkers

        public RedissonNodeFileConfig setMapReduceWorkers(int mapReduceWorkers)
        MapReduce workers amount.

        0 = current_processors_amount

        -1 = disable MapReduce workers

        Default is 0

        Parameters:
        mapReduceWorkers - workers for MapReduce
        Returns:
        config
      • getMapReduceWorkers

        public int getMapReduceWorkers()
      • setExecutorServiceWorkers

        public RedissonNodeFileConfig setExecutorServiceWorkers(Map<String,Integer> workers)
        Executor service workers amount per service name
        Parameters:
        workers - mapping
        Returns:
        config
      • getExecutorServiceWorkers

        public Map<String,Integer> getExecutorServiceWorkers()