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