public class WorkQueueDescriptor extends Object
WorkManager
queue configuration.Modifier and Type | Field and Description |
---|---|
static String |
ALL_QUEUES |
Integer |
capacity
When specified, make the blocking queue bounded, so submission will block until space become available.
|
Set<String> |
categories |
static int |
DEFAULT_CAPACITY |
static int |
DEFAULT_CLEAR_COMPLETED_AFTER_SECONDS |
static int |
DEFAULT_MAX_THREADS |
String |
id |
Integer |
maxThreads |
String |
name |
Boolean |
processing |
Boolean |
queuing |
Constructor and Description |
---|
WorkQueueDescriptor() |
Modifier and Type | Method and Description |
---|---|
WorkQueueDescriptor |
clone() |
int |
getCapacity() |
int |
getMaxThreads() |
boolean |
isProcessingEnabled()
Whether processing of work instances from this queue is enabled for this Nuxeo instance.
|
boolean |
isQueuingEnabled()
Whether queuing of work instances to this queue is enabled for this Nuxeo instance.
|
void |
merge(WorkQueueDescriptor other) |
String |
toEffectiveString() |
String |
toString() |
public static final String ALL_QUEUES
public static final int DEFAULT_MAX_THREADS
public static final int DEFAULT_CLEAR_COMPLETED_AFTER_SECONDS
public static final int DEFAULT_CAPACITY
public Boolean processing
public Integer maxThreads
public Set<String> categories
public WorkQueueDescriptor()
public boolean isQueuingEnabled()
public boolean isProcessingEnabled()
public int getMaxThreads()
public int getCapacity()
public WorkQueueDescriptor clone()
public void merge(WorkQueueDescriptor other)
public String toEffectiveString()
Copyright © 2016 Nuxeo SA. All rights reserved.