Package org.onosproject.store.service
Class ConsistentMultimapBuilder<K,V>
- java.lang.Object
-
- org.onosproject.store.primitives.DistributedPrimitiveOptions<O>
-
- org.onosproject.store.service.ConsistentMultimapOptions<ConsistentMultimapBuilder<K,V>,K,V>
-
- org.onosproject.store.service.ConsistentMultimapBuilder<K,V>
-
- All Implemented Interfaces:
DistributedPrimitiveBuilder<ConsistentMultimap<K,V>>
public abstract class ConsistentMultimapBuilder<K,V> extends ConsistentMultimapOptions<ConsistentMultimapBuilder<K,V>,K,V> implements DistributedPrimitiveBuilder<ConsistentMultimap<K,V>>
A builder class forAsyncConsistentMultimap
.
-
-
Constructor Summary
Constructors Constructor Description ConsistentMultimapBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract AsyncConsistentMultimap<K,V>
buildMultimap()
Builds the distributed multimap based on the configuration options supplied to this builder.-
Methods inherited from class org.onosproject.store.service.ConsistentMultimapOptions
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
-
buildMultimap
public abstract AsyncConsistentMultimap<K,V> buildMultimap()
Builds the distributed multimap based on the configuration options supplied to this builder.- Returns:
- new distributed multimap
- Throws:
RuntimeException
- if a mandatory parameter is missing
-
-