public class WorkQueueDescriptor extends Object
WorkManager
queue configuration.Modifier and Type | Field and Description |
---|---|
static String |
ALL_QUEUES |
int |
capacity
When specified, make the blocking queue bounded, so submission will block until space become available.
|
Set<String> |
categories |
int |
clearCompletedAfterSeconds |
String |
id |
int |
maxThreads |
String |
name |
Boolean |
processing |
Boolean |
queuing |
boolean |
usePriority
If this is
true , then a priority queue is used instead of a regular queue. |
Constructor and Description |
---|
WorkQueueDescriptor() |
Modifier and Type | Method and Description |
---|---|
WorkQueueDescriptor |
clone() |
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) |
public static final String ALL_QUEUES
public String id
public Boolean queuing
public Boolean processing
public String name
public int maxThreads
public boolean usePriority
true
, then a priority queue is used instead of a regular queue. In this case, the Work
instances in the queue must implement Comparable
and are prioritized according to their
compareTo()
method.public int clearCompletedAfterSeconds
public int capacity
public boolean isQueuingEnabled()
public boolean isProcessingEnabled()
public WorkQueueDescriptor clone()
public void merge(WorkQueueDescriptor other)
Copyright © 2015 Nuxeo SA. All rights reserved.