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