public class WorkHolder extends Object implements Runnable
WorkHolder
adapts a Work
to Runnable
for queuing and execution by a
ThreadPoolExecutor
.
Calls (indirectly) Work.work()
and Work.cleanUp(boolean, java.lang.Exception)
.
Work
,
Work.work()
,
Work.cleanUp(boolean, java.lang.Exception)
,
AbstractWork
Constructor and Description |
---|
WorkHolder(Work work) |
Copyright © 2018 Nuxeo. All rights reserved.