Package org.onosproject.store.service
Class TopicOptions<O extends TopicOptions<O,T>,T>
- java.lang.Object
-
- org.onosproject.store.primitives.DistributedPrimitiveOptions<O>
-
- org.onosproject.store.service.TopicOptions<O,T>
-
- Type Parameters:
T
- type for topic value
- Direct Known Subclasses:
TopicBuilder
public abstract class TopicOptions<O extends TopicOptions<O,T>,T> extends DistributedPrimitiveOptions<O>
Builder forTopic
instances.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.BiFunction<T,Version,T>
compatibilityFunction
-
Constructor Summary
Constructors Constructor Description TopicOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description O
withCompatibilityFunction(java.util.function.BiFunction<T,Version,T> 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
-
-