Package | Description |
---|---|
org.nuxeo.ecm.core.work | |
org.nuxeo.ecm.core.work.api | |
org.nuxeo.ecm.platform.video.service | |
org.nuxeo.ecm.quota |
Modifier and Type | Class and Description |
---|---|
class |
AbstractWork
A base implementation for a
Work instance, dealing with most of the
details around state change. |
class |
SleepWork
Simple work that just sleeps, mostly used for tests.
|
Modifier and Type | Method and Description |
---|---|
Work |
WorkManagerImpl.find(Work work,
Work.State state,
boolean useEquals,
int[] pos) |
Work |
WorkManagerImpl.WorkThreadPoolExecutor.find(Work work,
Work.State state,
boolean useEquals,
int[] pos)
Finds a work instance in the scheduled or running queue.
|
Modifier and Type | Method and Description |
---|---|
List<Work> |
WorkManagerImpl.WorkThreadPoolExecutor.getCompleted()
Gets the completed tasks.
|
List<Work> |
WorkManagerImpl.WorkThreadPoolExecutor.getNonCompleted()
Gets the non-completed tasks.
|
List<Work> |
WorkManagerImpl.WorkThreadPoolExecutor.getRunning()
Gets the running tasks.
|
List<Work> |
WorkManagerImpl.WorkThreadPoolExecutor.getScheduled()
Gets the scheduled tasks.
|
List<Work> |
WorkManagerImpl.listWork(String queueId,
Work.State state) |
Modifier and Type | Method and Description |
---|---|
boolean |
WorkManagerImpl.WorkThreadPoolExecutor.cancelScheduled(Work work)
Removes any work instances equal to this one from the scheduled queue
and cancels them.
|
Work |
WorkManagerImpl.find(Work work,
Work.State state,
boolean useEquals,
int[] pos) |
Work |
WorkManagerImpl.WorkThreadPoolExecutor.find(Work work,
Work.State state,
boolean useEquals,
int[] pos)
Finds a work instance in the scheduled or running queue.
|
void |
WorkManagerImpl.schedule(Work work) |
void |
WorkManagerImpl.schedule(Work work,
WorkManager.Scheduling scheduling) |
Modifier and Type | Method and Description |
---|---|
Work |
WorkManager.find(Work work,
Work.State state,
boolean useEquals,
int[] pos)
Finds a work instance by equality or identity.
|
Modifier and Type | Method and Description |
---|---|
List<Work> |
WorkManager.listWork(String queueId,
Work.State state)
Lists the work instances in a given queue in a defined state.
|
Modifier and Type | Method and Description |
---|---|
Work |
WorkManager.find(Work work,
Work.State state,
boolean useEquals,
int[] pos)
Finds a work instance by equality or identity.
|
void |
WorkManager.schedule(Work work)
Schedules work for execution at a later time.
|
void |
WorkManager.schedule(Work work,
WorkManager.Scheduling scheduling)
Schedules work for execution at a later time, with a specific
scheduling policy.
|
Modifier and Type | Class and Description |
---|---|
class |
VideoConversionWork
Work running a defined video conversion.
|
Modifier and Type | Class and Description |
---|---|
class |
QuotaStatsInitialWork
Work doing an initial statistics computation for a defined
QuotaStatsUpdater . |
Copyright © 2012 Nuxeo SA. All Rights Reserved.