public class AtomicSemaphoreType extends Object implements PrimitiveType<AtomicSemaphoreBuilder,AtomicSemaphoreConfig,AtomicSemaphore>
| Constructor and Description |
|---|
AtomicSemaphoreType() |
| Modifier and Type | Method and Description |
|---|---|
static AtomicSemaphoreType |
instance()
Returns a semaphore type instance.
|
String |
name()
Returns the object name.
|
Namespace |
namespace()
Returns the primitive type namespace.
|
AtomicSemaphoreBuilder |
newBuilder(String name,
AtomicSemaphoreConfig config,
PrimitiveManagementService managementService)
Returns a new primitive builder.
|
AtomicSemaphoreConfig |
newConfig()
Returns a new instance of the primitive configuration.
|
PrimitiveResource |
newResource(AtomicSemaphore 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 AtomicSemaphoreType instance()
public Namespace namespace()
PrimitiveTypenamespace in interface PrimitiveType<AtomicSemaphoreBuilder,AtomicSemaphoreConfig,AtomicSemaphore>public PrimitiveService newService(ServiceConfig config)
PrimitiveTypenewService in interface PrimitiveType<AtomicSemaphoreBuilder,AtomicSemaphoreConfig,AtomicSemaphore>config - the service configurationpublic AtomicSemaphoreConfig newConfig()
PrimitiveTypenewConfig in interface PrimitiveType<AtomicSemaphoreBuilder,AtomicSemaphoreConfig,AtomicSemaphore>newConfig in interface ConfiguredType<AtomicSemaphoreConfig>public AtomicSemaphoreBuilder newBuilder(String name, AtomicSemaphoreConfig config, PrimitiveManagementService managementService)
PrimitiveTypenewBuilder in interface PrimitiveType<AtomicSemaphoreBuilder,AtomicSemaphoreConfig,AtomicSemaphore>name - the primitive nameconfig - the primitive configurationmanagementService - the primitive management servicepublic PrimitiveResource newResource(AtomicSemaphore primitive)
PrimitiveTypenewResource in interface PrimitiveType<AtomicSemaphoreBuilder,AtomicSemaphoreConfig,AtomicSemaphore>primitive - the primitive instanceCopyright © 2013–2018. All rights reserved.