Package org.onosproject.store.service
Class AtomicCounterMapBuilder<K>
- java.lang.Object
-
- org.onosproject.store.primitives.DistributedPrimitiveOptions<O>
-
- org.onosproject.store.service.AtomicCounterMapOptions<AtomicCounterMapBuilder<K>,K>
-
- org.onosproject.store.service.AtomicCounterMapBuilder<K>
-
- All Implemented Interfaces:
DistributedPrimitiveBuilder<AtomicCounterMap<K>>
public abstract class AtomicCounterMapBuilder<K> extends AtomicCounterMapOptions<AtomicCounterMapBuilder<K>,K> implements DistributedPrimitiveBuilder<AtomicCounterMap<K>>
Builder for AtomicCounterMap.
-
-
Constructor Summary
Constructors Constructor Description AtomicCounterMapBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract AsyncAtomicCounterMap<K>
buildAsyncMap()
Builds an async atomic counter map based on the configuration options supplied to this builder.-
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
-
buildAsyncMap
public abstract AsyncAtomicCounterMap<K> buildAsyncMap()
Builds an async atomic counter map based on the configuration options supplied to this builder.- Returns:
- new async atomic counter map
- Throws:
RuntimeException
- if a mandatory parameter is missing
-
-