Class Registry
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.simulator.policy.Registry
-
public final class Registry extends Object
The registry of caching policies.
-
-
Constructor Summary
Constructors Constructor Description Registry(BasicSettings settings, Set<Policy.Characteristic> characteristics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableSet<Policy>
policies()
Returns all of the policies that have been configured for simulation and that meet a minimal set of supported characteristics.
-
-
-
Constructor Detail
-
Registry
public Registry(BasicSettings settings, Set<Policy.Characteristic> characteristics)
-
-
Method Detail
-
policies
public ImmutableSet<Policy> policies()
Returns all of the policies that have been configured for simulation and that meet a minimal set of supported characteristics.
-
-