Package | Description |
---|---|
org.nuxeo.ecm.admin.permissions | |
org.nuxeo.ecm.core.management.works | |
org.nuxeo.ecm.core.redis.contribs | |
org.nuxeo.ecm.core.work | |
org.nuxeo.ecm.core.work.api |
Modifier and Type | Method and Description |
---|---|
Work.State |
AdminPermissionsActions.PurgeWorkStatus.getState() |
Constructor and Description |
---|
PurgeWorkStatus(Work.State state) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
WorksQueueMonitoring.listWorks(Work.State state) |
Modifier and Type | Method and Description |
---|---|
Work.State |
RedisWorkQueuing.getWorkState(String workId) |
protected Work.State |
RedisWorkQueuing.getWorkStateInfo(String workId)
Gets the work state.
|
Modifier and Type | Method and Description |
---|---|
Work |
RedisWorkQueuing.find(String workId,
Work.State state) |
int |
RedisWorkQueuing.getQueueSize(String queueId,
Work.State state) |
boolean |
RedisWorkQueuing.isWorkInState(String workId,
Work.State state) |
List<Work> |
RedisWorkQueuing.listWork(String queueId,
Work.State state) |
List<String> |
RedisWorkQueuing.listWorkIds(String queueId,
Work.State state) |
Modifier and Type | Field and Description |
---|---|
protected Work.State |
AbstractWork.state |
Modifier and Type | Method and Description |
---|---|
Work.State |
AbstractWork.getState()
Deprecated.
|
Work.State |
AbstractWork.getWorkInstanceState() |
Work.State |
WorkQueuing.getWorkState(String workId)
Gets the state in which a work instance is.
|
Work.State |
WorkManagerImpl.getWorkState(String workId) |
Work.State |
MemoryWorkQueuing.getWorkState(String workId) |
Modifier and Type | Method and Description |
---|---|
Work |
WorkQueuing.find(String workId,
Work.State state)
Finds a work instance in the scheduled queue or running or completed sets.
|
Work |
WorkManagerImpl.find(String workId,
Work.State state) |
Work |
MemoryWorkQueuing.find(String workId,
Work.State state) |
Work |
WorkManagerImpl.find(Work work,
Work.State state,
boolean useEquals,
int[] pos)
Deprecated.
|
int |
WorkQueuing.getQueueSize(String queueId,
Work.State state)
Gets the number of work instances in the given state in a given queue.
|
int |
WorkManagerImpl.getQueueSize(String queueId,
Work.State state) |
int |
MemoryWorkQueuing.getQueueSize(String queueId,
Work.State state) |
protected boolean |
WorkManagerImpl.hasWorkInState(String workId,
Work.State state) |
boolean |
WorkQueuing.isWorkInState(String workId,
Work.State state)
Checks if a work instance with the given id is in the given state.
|
boolean |
MemoryWorkQueuing.isWorkInState(String workId,
Work.State state) |
List<Work> |
WorkQueuing.listWork(String queueId,
Work.State state)
Lists the work instances in a given queue in a defined state.
|
List<Work> |
WorkManagerImpl.listWork(String queueId,
Work.State state) |
List<Work> |
MemoryWorkQueuing.listWork(String queueId,
Work.State state) |
List<String> |
WorkQueuing.listWorkIds(String queueId,
Work.State state)
Lists the work ids in a given queue in a defined state.
|
List<String> |
WorkManagerImpl.listWorkIds(String queueId,
Work.State state) |
List<String> |
MemoryWorkQueuing.listWorkIds(String queueId,
Work.State state) |
void |
AbstractWork.setWorkInstanceState(Work.State state) |
Modifier and Type | Field and Description |
---|---|
Work.State |
WorkManager.Scheduling.state |
Modifier and Type | Method and Description |
---|---|
Work.State |
Work.getState()
Deprecated.
since 5.8, use
WorkManager.getWorkState(java.lang.String) instead |
Work.State |
Work.getWorkInstanceState()
CALLED BY THE WORK MANAGER (not user code) to get this work instance's state.
|
Work.State |
WorkManager.getWorkState(String workId)
Gets the state in which a work instance is.
|
static Work.State |
Work.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Work.State[] |
Work.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Work |
WorkManager.find(String workId,
Work.State state)
Finds a work instance.
|
Work |
WorkManager.find(Work work,
Work.State state,
boolean useEquals,
int[] pos)
Deprecated.
since 5.8, use
WorkManager.getWorkState(java.lang.String) instead |
int |
WorkManager.getQueueSize(String queueId,
Work.State state)
Gets the number of work instances in a given queue in a defined state.
|
List<Work> |
WorkManager.listWork(String queueId,
Work.State state)
Lists the work instances in a given queue in a defined state.
|
List<String> |
WorkManager.listWorkIds(String queueId,
Work.State state)
Lists the work ids in a given queue in a defined state.
|
void |
Work.setWorkInstanceState(Work.State state)
CALLED BY THE WORK MANAGER (not user code) to set this work instance's state.
|
Copyright © 2015 Nuxeo SA. All rights reserved.