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