Class PolicyStats.Metric
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats.Metric
-
- Enclosing class:
- PolicyStats
public abstract static class PolicyStats.Metric extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolicyStats.Metric.Builder
static class
PolicyStats.Metric.MetricType
-
Constructor Summary
Constructors Constructor Description Metric()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static PolicyStats.Metric.Builder
builder()
abstract ImmutableSet<Policy.Characteristic>
characteristics()
abstract String
name()
static PolicyStats.Metric
of(String name, Object value, PolicyStats.Metric.MetricType type, boolean required)
abstract boolean
required()
abstract PolicyStats.Metric.MetricType
type()
abstract Object
value()
-
-
-
Method Detail
-
name
public abstract String name()
-
value
public abstract Object value()
-
type
public abstract PolicyStats.Metric.MetricType type()
-
required
public abstract boolean required()
-
characteristics
public abstract ImmutableSet<Policy.Characteristic> characteristics()
-
of
public static PolicyStats.Metric of(String name, Object value, PolicyStats.Metric.MetricType type, boolean required)
-
builder
public static PolicyStats.Metric.Builder builder()
-
-