Package org.nuxeo.ecm.core.work
Class WorkHolder
- java.lang.Object
-
- org.nuxeo.ecm.core.work.WorkHolder
-
- All Implemented Interfaces:
Runnable
public class WorkHolder extends Object implements Runnable
AWorkHolder
adapts aWork
toRunnable
for queuing and execution by aThreadPoolExecutor
.Calls (indirectly)
Work.work()
andWork.cleanUp(boolean, java.lang.Exception)
.- Since:
- 5.8
- See Also:
Work
,Work.work()
,Work.cleanUp(boolean, java.lang.Exception)
,AbstractWork
-
-
Constructor Summary
Constructors Constructor Description WorkHolder(Work work)
-