public class AtomicCounterMapType<K> extends Object implements PrimitiveType<AtomicCounterMapBuilder<K>,AtomicCounterMapConfig,AtomicCounterMap<K>>
| Constructor and Description |
|---|
AtomicCounterMapType() |
| Modifier and Type | Method and Description |
|---|---|
static <K> AtomicCounterMapType<K> |
instance()
Returns a new atomic counter map type.
|
String |
name()
Returns the object name.
|
AtomicCounterMapBuilder<K> |
newBuilder(String name,
AtomicCounterMapConfig config,
PrimitiveManagementService managementService)
Returns a new primitive builder.
|
AtomicCounterMapConfig |
newConfig()
Returns a new instance of the primitive configuration.
|
PrimitiveService |
newService(ServiceConfig config)
Creates a new service instance from the given configuration.
|
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitnamespace, newResourcepublic static <K> AtomicCounterMapType<K> instance()
K - the key typepublic PrimitiveService newService(ServiceConfig config)
PrimitiveTypenewService in interface PrimitiveType<AtomicCounterMapBuilder<K>,AtomicCounterMapConfig,AtomicCounterMap<K>>config - the service configurationpublic AtomicCounterMapConfig newConfig()
PrimitiveTypenewConfig in interface PrimitiveType<AtomicCounterMapBuilder<K>,AtomicCounterMapConfig,AtomicCounterMap<K>>newConfig in interface ConfiguredType<AtomicCounterMapConfig>public AtomicCounterMapBuilder<K> newBuilder(String name, AtomicCounterMapConfig config, PrimitiveManagementService managementService)
PrimitiveTypenewBuilder in interface PrimitiveType<AtomicCounterMapBuilder<K>,AtomicCounterMapConfig,AtomicCounterMap<K>>name - the primitive nameconfig - the primitive configurationmanagementService - the primitive management serviceCopyright © 2013–2018. All rights reserved.