All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codeheadsystems.featureflag.model.FeatureManagerConfiguration Maven / Gradle / Ivy

There is a newer version: 1.0.8
Show newest version
package org.codeheadsystems.featureflag.model;

import java.util.concurrent.Executor;
import java.util.concurrent.ForkJoinPool;
import org.immutables.value.Value;

/**
 * The interface Feature manager configuration.
 */
@Value.Immutable
public interface FeatureManagerConfiguration {

  /**
   * Cache loader executor. Defaults to the common fork join pool.
   *
   * @return the executor
   */
  default Executor cacheLoaderExecutor() {
    return ForkJoinPool.commonPool();
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy