Package org.onosproject.store.service
Class ConsistentMultimapOptions<O extends ConsistentMultimapOptions<O,K,V>,K,V>
- java.lang.Object
-
- org.onosproject.store.primitives.DistributedPrimitiveOptions<O>
-
- org.onosproject.store.service.ConsistentMultimapOptions<O,K,V>
-
- Direct Known Subclasses:
ConsistentMultimapBuilder
public abstract class ConsistentMultimapOptions<O extends ConsistentMultimapOptions<O,K,V>,K,V> extends DistributedPrimitiveOptions<O>
A builder class forAsyncConsistentMultimap
.
-
-
Constructor Summary
Constructors Constructor Description ConsistentMultimapOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
purgeOnUninstall()
Returns if multimap entries need to be cleared when owning application is uninstalled.O
withPurgeOnUninstall()
Clears multimap contents when the owning application is uninstalled.-
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
-
-
-
-
Method Detail
-
withPurgeOnUninstall
public O withPurgeOnUninstall()
Clears multimap contents when the owning application is uninstalled.- Returns:
- this builder
-
purgeOnUninstall
public boolean purgeOnUninstall()
Returns if multimap entries need to be cleared when owning application is uninstalled.- Returns:
- true if items are to be cleared on uninstall
-
-