Package org.onosproject.store.service
Class ConsistentMapBuilder<K,V>
- java.lang.Object
- 
- org.onosproject.store.primitives.DistributedPrimitiveOptions<O>
- 
- org.onosproject.store.service.ConsistentMapOptions<ConsistentMapBuilder<K,V>,K,V>
- 
- org.onosproject.store.service.ConsistentMapBuilder<K,V>
 
 
 
- 
- Type Parameters:
- K- type for map key
- V- type for map value
 - All Implemented Interfaces:
- DistributedPrimitiveBuilder<ConsistentMap<K,V>>
 
 public abstract class ConsistentMapBuilder<K,V> extends ConsistentMapOptions<ConsistentMapBuilder<K,V>,K,V> implements DistributedPrimitiveBuilder<ConsistentMap<K,V>> Builder forConsistentMapinstances.
- 
- 
Field Summary- 
Fields inherited from class org.onosproject.store.service.ConsistentMapOptionscompatibilityFunction
 
- 
 - 
Constructor SummaryConstructors Constructor Description ConsistentMapBuilder()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract AsyncConsistentMap<K,V>buildAsyncMap()Builds an async consistent map based on the configuration options supplied to this builder.- 
Methods inherited from class org.onosproject.store.service.ConsistentMapOptionsnullValues, purgeOnUninstall, withCompatibilityFunction, withNullValues, withPurgeOnUninstall
 - 
Methods inherited from class org.onosproject.store.primitives.DistributedPrimitiveOptionsapplicationId, meteringEnabled, name, partitionsDisabled, readOnly, relaxedReadConsistency, revisionType, serializer, type, version, withApplicationId, withName, withRelaxedReadConsistency, withRevisionType, withSerializer, withUpdatesDisabled, withVersion
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.onosproject.store.primitives.DistributedPrimitiveBuilderbuild
 
- 
 
- 
- 
- 
Method Detail- 
buildAsyncMappublic abstract AsyncConsistentMap<K,V> buildAsyncMap() Builds an async consistent map based on the configuration options supplied to this builder.- Returns:
- new async consistent map
- Throws:
- java.lang.RuntimeException- if a mandatory parameter is missing
 
 
- 
 
-