public class WorkQueueType<E> extends Object implements PrimitiveType<WorkQueueBuilder<E>,WorkQueueConfig,WorkQueue<E>>
| Constructor and Description |
|---|
WorkQueueType() |
| Modifier and Type | Method and Description |
|---|---|
static <E> WorkQueueType<E> |
instance()
Returns a new work queue type instance.
|
String |
name()
Returns the object name.
|
Namespace |
namespace()
Returns the primitive type namespace.
|
WorkQueueBuilder<E> |
newBuilder(String name,
WorkQueueConfig config,
PrimitiveManagementService managementService)
Returns a new primitive builder.
|
WorkQueueConfig |
newConfig()
Returns a new instance of the primitive configuration.
|
PrimitiveResource |
newResource(WorkQueue<E> 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 <E> WorkQueueType<E> instance()
E - the element typepublic Namespace namespace()
PrimitiveTypenamespace in interface PrimitiveType<WorkQueueBuilder<E>,WorkQueueConfig,WorkQueue<E>>public PrimitiveService newService(ServiceConfig config)
PrimitiveTypenewService in interface PrimitiveType<WorkQueueBuilder<E>,WorkQueueConfig,WorkQueue<E>>config - the service configurationpublic PrimitiveResource newResource(WorkQueue<E> primitive)
PrimitiveTypenewResource in interface PrimitiveType<WorkQueueBuilder<E>,WorkQueueConfig,WorkQueue<E>>primitive - the primitive instancepublic WorkQueueConfig newConfig()
PrimitiveTypenewConfig in interface PrimitiveType<WorkQueueBuilder<E>,WorkQueueConfig,WorkQueue<E>>newConfig in interface ConfiguredType<WorkQueueConfig>public WorkQueueBuilder<E> newBuilder(String name, WorkQueueConfig config, PrimitiveManagementService managementService)
PrimitiveTypenewBuilder in interface PrimitiveType<WorkQueueBuilder<E>,WorkQueueConfig,WorkQueue<E>>name - the primitive nameconfig - the primitive configurationmanagementService - the primitive management serviceCopyright © 2013–2018. All rights reserved.