Package org.onosproject.store.service
Class ConsistentTreeMapBuilder<V>
- java.lang.Object
-
- org.onosproject.store.primitives.DistributedPrimitiveOptions<O>
-
- org.onosproject.store.service.ConsistentTreeMapOptions<ConsistentTreeMapBuilder<V>,V>
-
- org.onosproject.store.service.ConsistentTreeMapBuilder<V>
-
- All Implemented Interfaces:
DistributedPrimitiveBuilder<ConsistentTreeMap<V>>
public abstract class ConsistentTreeMapBuilder<V> extends ConsistentTreeMapOptions<ConsistentTreeMapBuilder<V>,V> implements DistributedPrimitiveBuilder<ConsistentTreeMap<V>>
Builder forConsistentTreeMap
.
-
-
Constructor Summary
Constructors Constructor Description ConsistentTreeMapBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract AsyncConsistentTreeMap<V>
buildTreeMap()
Builds the distributed tree map based on the configuration options supplied to this builder.-
Methods inherited from class org.onosproject.store.service.ConsistentTreeMapOptions
purgeOnUninstall, withPurgeOnUninstall
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.onosproject.store.primitives.DistributedPrimitiveBuilder
build
-
-
-
-
Method Detail
-
buildTreeMap
public abstract AsyncConsistentTreeMap<V> buildTreeMap()
Builds the distributed tree map based on the configuration options supplied to this builder.- Returns:
- new distributed tree map
- Throws:
java.lang.RuntimeException
- if a mandatory parameter is missing
-
-