public class WorkQueueDescriptor extends Object
WorkManager
queue configuration.Modifier and Type | Field and Description |
---|---|
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 |
usePriority
If this is
true , then a priority queue is used instead of a
regular queue. |
Constructor and Description |
---|
WorkQueueDescriptor() |
public String id
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 WorkQueueDescriptor clone()
public void merge(WorkQueueDescriptor other)
Copyright © 2013 Nuxeo SA. All Rights Reserved.