Package org.onosproject.store.service
Class AtomicValueOptions<O extends AtomicValueOptions<O,V>,V>
- java.lang.Object
-
- org.onosproject.store.primitives.DistributedPrimitiveOptions<O>
-
- org.onosproject.store.service.AtomicValueOptions<O,V>
-
- Type Parameters:
V
- atomic value type
- Direct Known Subclasses:
AtomicValueBuilder
public abstract class AtomicValueOptions<O extends AtomicValueOptions<O,V>,V> extends DistributedPrimitiveOptions<O>
Builder for constructing new AtomicValue instances.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.BiFunction<V,Version,V>
compatibilityFunction
-
Constructor Summary
Constructors Constructor Description AtomicValueOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description O
withCompatibilityFunction(java.util.function.BiFunction<V,Version,V> compatibilityFunction)
Sets a compatibility function on the map.-
Methods inherited from class org.onosproject.store.primitives.DistributedPrimitiveOptions
applicationId, meteringEnabled, name, partitionsDisabled, readOnly, relaxedReadConsistency, revisionType, serializer, type, version, withApplicationId, withName, withRelaxedReadConsistency, withRevisionType, withSerializer, withUpdatesDisabled, withVersion
-
-