Class PolicyStats.Metric.Builder
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats.Metric.Builder
-
- Enclosing class:
- PolicyStats.Metric
public abstract static class PolicyStats.Metric.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description PolicyStats.Metric.Builder
addCharacteristic(Policy.Characteristic characteristic)
abstract PolicyStats.Metric
build()
abstract ImmutableSet.Builder<Policy.Characteristic>
characteristicsBuilder()
abstract PolicyStats.Metric.Builder
name(String name)
abstract PolicyStats.Metric.Builder
required(boolean required)
abstract PolicyStats.Metric.Builder
type(PolicyStats.Metric.MetricType type)
abstract PolicyStats.Metric.Builder
value(Object value)
-
-
-
Method Detail
-
name
public abstract PolicyStats.Metric.Builder name(String name)
-
value
public abstract PolicyStats.Metric.Builder value(Object value)
-
type
public abstract PolicyStats.Metric.Builder type(PolicyStats.Metric.MetricType type)
-
required
public abstract PolicyStats.Metric.Builder required(boolean required)
-
characteristicsBuilder
public abstract ImmutableSet.Builder<Policy.Characteristic> characteristicsBuilder()
-
build
public abstract PolicyStats.Metric build()
-
addCharacteristic
@CanIgnoreReturnValue public final PolicyStats.Metric.Builder addCharacteristic(Policy.Characteristic characteristic)
-
-