public class AtomicIdGeneratorType extends Object implements PrimitiveType<AtomicIdGeneratorBuilder,AtomicIdGeneratorConfig,AtomicIdGenerator>
| Constructor and Description |
|---|
AtomicIdGeneratorType() |
| Modifier and Type | Method and Description |
|---|---|
static AtomicIdGeneratorType |
instance()
Returns a new atomic ID generator type.
|
String |
name()
Returns the object name.
|
AtomicIdGeneratorBuilder |
newBuilder(String name,
AtomicIdGeneratorConfig config,
PrimitiveManagementService managementService)
Returns a new primitive builder.
|
AtomicIdGeneratorConfig |
newConfig()
Returns a new instance of the primitive configuration.
|
PrimitiveResource |
newResource(AtomicIdGenerator 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 AtomicIdGeneratorType instance()
public PrimitiveService newService(ServiceConfig config)
PrimitiveTypenewService in interface PrimitiveType<AtomicIdGeneratorBuilder,AtomicIdGeneratorConfig,AtomicIdGenerator>config - the service configurationpublic PrimitiveResource newResource(AtomicIdGenerator primitive)
PrimitiveTypenewResource in interface PrimitiveType<AtomicIdGeneratorBuilder,AtomicIdGeneratorConfig,AtomicIdGenerator>primitive - the primitive instancepublic AtomicIdGeneratorConfig newConfig()
PrimitiveTypenewConfig in interface PrimitiveType<AtomicIdGeneratorBuilder,AtomicIdGeneratorConfig,AtomicIdGenerator>newConfig in interface ConfiguredType<AtomicIdGeneratorConfig>public AtomicIdGeneratorBuilder newBuilder(String name, AtomicIdGeneratorConfig config, PrimitiveManagementService managementService)
PrimitiveTypenewBuilder in interface PrimitiveType<AtomicIdGeneratorBuilder,AtomicIdGeneratorConfig,AtomicIdGenerator>name - the primitive nameconfig - the primitive configurationmanagementService - the primitive management serviceCopyright © 2013–2018. All rights reserved.