Package org.onosproject.store.service
Class DistributedSetOptions<O extends DistributedSetOptions<O,E>,E>
- java.lang.Object
-
- org.onosproject.store.primitives.DistributedPrimitiveOptions<O>
-
- org.onosproject.store.service.DistributedSetOptions<O,E>
-
- Type Parameters:
E
- type set elements.
- Direct Known Subclasses:
DistributedSetBuilder
public abstract class DistributedSetOptions<O extends DistributedSetOptions<O,E>,E> extends DistributedPrimitiveOptions<O>
Builder for distributed set.
-
-
Constructor Summary
Constructors Constructor Description DistributedSetOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
purgeOnUninstall()
Returns if set contents need to be cleared when owning application is uninstalled.O
withPurgeOnUninstall()
Enables clearing set 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()
Enables clearing set contents when the owning application is uninstalled.- Returns:
- this builder
-
purgeOnUninstall
public boolean purgeOnUninstall()
Returns if set contents need to be cleared when owning application is uninstalled.- Returns:
true
if yes;false
otherwise.
-
-