public class AtomicCounterType extends Object implements PrimitiveType<AtomicCounterBuilder,AtomicCounterConfig,AtomicCounter>
| Constructor and Description |
|---|
AtomicCounterType() |
| Modifier and Type | Method and Description |
|---|---|
static AtomicCounterType |
instance()
Returns a new atomic counter type.
|
String |
name()
Returns the object name.
|
AtomicCounterBuilder |
newBuilder(String name,
AtomicCounterConfig config,
PrimitiveManagementService managementService)
Returns a new primitive builder.
|
AtomicCounterConfig |
newConfig()
Returns a new instance of the primitive configuration.
|
PrimitiveResource |
newResource(AtomicCounter primitive)
Creates a new resource for the given primitive.
|
PrimitiveService |
newService(ServiceConfig config)
Creates a new service instance from the given configuration.
|
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitnamespacepublic static AtomicCounterType instance()
public PrimitiveService newService(ServiceConfig config)
PrimitiveTypenewService in interface PrimitiveType<AtomicCounterBuilder,AtomicCounterConfig,AtomicCounter>config - the service configurationpublic PrimitiveResource newResource(AtomicCounter primitive)
PrimitiveTypenewResource in interface PrimitiveType<AtomicCounterBuilder,AtomicCounterConfig,AtomicCounter>primitive - the primitive instancepublic AtomicCounterConfig newConfig()
PrimitiveTypenewConfig in interface PrimitiveType<AtomicCounterBuilder,AtomicCounterConfig,AtomicCounter>newConfig in interface ConfiguredType<AtomicCounterConfig>public AtomicCounterBuilder newBuilder(String name, AtomicCounterConfig config, PrimitiveManagementService managementService)
PrimitiveTypenewBuilder in interface PrimitiveType<AtomicCounterBuilder,AtomicCounterConfig,AtomicCounter>name - the primitive nameconfig - the primitive configurationmanagementService - the primitive management serviceCopyright © 2013–2018. All rights reserved.