Uses of Class
org.nuxeo.ecm.core.work.api.Work.State
-
Packages that use Work.State Package Description org.nuxeo.ecm.core.redis.contribs org.nuxeo.ecm.core.work org.nuxeo.ecm.core.work.api -
-
Uses of Work.State in org.nuxeo.ecm.core.redis.contribs
Methods in org.nuxeo.ecm.core.redis.contribs that return Work.State Modifier and Type Method Description Work.State
RedisWorkQueuing. getWorkState(String workId)
protected Work.State
RedisWorkQueuing. getWorkStateInfo(String workId)
Gets the work state.Methods in org.nuxeo.ecm.core.redis.contribs with parameters of type Work.State Modifier and Type Method Description protected byte[]
RedisWorkQueuing. bytes(Work.State state)
long
RedisWorkQueuing. count(String queueId, Work.State state)
Work
RedisWorkQueuing. find(String workId, 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)
-
Uses of Work.State in org.nuxeo.ecm.core.work
Fields in org.nuxeo.ecm.core.work declared as Work.State Modifier and Type Field Description protected Work.State
AbstractWork. state
Methods in org.nuxeo.ecm.core.work that return Work.State Modifier and Type Method Description protected static Work.State
WorkStateHelper. getState(String workId)
Work.State
AbstractWork. getWorkInstanceState()
Work.State
MemoryWorkQueuing. getWorkState(String workId)
Work.State
StreamWorkManager. getWorkState(String workId)
Work.State
WorkManagerImpl. getWorkState(String workId)
Work.State
WorkQueuing. getWorkState(String workId)
Gets the state in which a work instance is.Methods in org.nuxeo.ecm.core.work with parameters of type Work.State Modifier and Type Method Description long
MemoryWorkQueuing. count(String queueId, Work.State state)
long
WorkQueuing. count(String queueId, Work.State state)
Gets the number of work instances in the given state in a given queue.Work
MemoryWorkQueuing. find(String workId, Work.State state)
Work
StreamWorkManager. find(String s, Work.State state)
Work
WorkManagerImpl. find(String workId, Work.State state)
Work
WorkQueuing. find(String workId, Work.State state)
Finds a work instance in the scheduled or running or completed sets.int
StreamWorkManager. getQueueSize(String queueId, Work.State state)
int
WorkManagerImpl. getQueueSize(String queueId, Work.State state)
protected boolean
WorkManagerImpl. hasWorkInState(String workId, Work.State state)
boolean
MemoryWorkQueuing. isWorkInState(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.List<Work>
MemoryWorkQueuing. listWork(String queueId, Work.State state)
List<Work>
StreamWorkManager. listWork(String s, Work.State state)
List<Work>
WorkManagerImpl. listWork(String queueId, 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<String>
MemoryWorkQueuing. listWorkIds(String queueId, Work.State state)
List<String>
StreamWorkManager. listWorkIds(String s, Work.State state)
List<String>
WorkManagerImpl. listWorkIds(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.protected static void
WorkStateHelper. setState(String workId, Work.State state, long ttl)
void
AbstractWork. setWorkInstanceState(Work.State state)
protected static boolean
MemoryWorkQueuing. workHasState(Work work, Work.State state)
-
Uses of Work.State in org.nuxeo.ecm.core.work.api
Fields in org.nuxeo.ecm.core.work.api declared as Work.State Modifier and Type Field Description Work.State
WorkManager.Scheduling. state
Methods in org.nuxeo.ecm.core.work.api that return Work.State Modifier and Type Method Description 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)
Deprecated.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.Methods in org.nuxeo.ecm.core.work.api with parameters of type Work.State Modifier and Type Method Description Work
WorkManager. find(String workId, Work.State state)
Deprecated.since 10.2 not scalableint
WorkManager. getQueueSize(String queueId, Work.State state)
Deprecated.since 5.8,List<Work>
WorkManager. listWork(String queueId, Work.State state)
Deprecated.since 10.2 not scalableList<String>
WorkManager. listWorkIds(String queueId, Work.State state)
Deprecated.since 10.2 not scalablevoid
Work. setWorkInstanceState(Work.State state)
CALLED BY THE WORK MANAGER (not user code) to set this work instance's state.
-