public class AtomicMapType<K,V> extends Object implements PrimitiveType<AtomicMapBuilder<K,V>,AtomicMapConfig,AtomicMap<K,V>>
| Constructor and Description |
|---|
AtomicMapType() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> AtomicMapType<K,V> |
instance()
Returns a new consistent map type.
|
String |
name()
Returns the object name.
|
Namespace |
namespace()
Returns the primitive type namespace.
|
AtomicMapBuilder<K,V> |
newBuilder(String name,
AtomicMapConfig config,
PrimitiveManagementService managementService)
Returns a new primitive builder.
|
AtomicMapConfig |
newConfig()
Returns a new instance of the primitive configuration.
|
PrimitiveResource |
newResource(AtomicMap<K,V> primitive)
Creates a new resource for the given primitive.
|
PrimitiveService |
newService(ServiceConfig config)
Creates a new service instance from the given configuration.
|
String |
toString() |
public static <K,V> AtomicMapType<K,V> instance()
K - the key typeV - the value typepublic Namespace namespace()
PrimitiveTypenamespace in interface PrimitiveType<AtomicMapBuilder<K,V>,AtomicMapConfig,AtomicMap<K,V>>public PrimitiveService newService(ServiceConfig config)
PrimitiveTypenewService in interface PrimitiveType<AtomicMapBuilder<K,V>,AtomicMapConfig,AtomicMap<K,V>>config - the service configurationpublic AtomicMapConfig newConfig()
PrimitiveTypenewConfig in interface PrimitiveType<AtomicMapBuilder<K,V>,AtomicMapConfig,AtomicMap<K,V>>newConfig in interface ConfiguredType<AtomicMapConfig>public PrimitiveResource newResource(AtomicMap<K,V> primitive)
PrimitiveTypenewResource in interface PrimitiveType<AtomicMapBuilder<K,V>,AtomicMapConfig,AtomicMap<K,V>>primitive - the primitive instancepublic AtomicMapBuilder<K,V> newBuilder(String name, AtomicMapConfig config, PrimitiveManagementService managementService)
PrimitiveTypenewBuilder in interface PrimitiveType<AtomicMapBuilder<K,V>,AtomicMapConfig,AtomicMap<K,V>>name - the primitive nameconfig - the primitive configurationmanagementService - the primitive management serviceCopyright © 2013–2018. All rights reserved.