Package | Description |
---|---|
commonj.work |
Provides interfaces for commonj Work and WorkManager.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RemoteWorkItem
If a Work instance is serializable and the WorkManager implementation supports Remoteable
WorkManager then the Work can be sent to a remote member of the application cluster for execution.
|
Modifier and Type | Method and Description |
---|---|
WorkItem |
WorkEvent.getWorkItem()
This returns a WorkItem that represents the
Work submitted to a WorkManager.
|
WorkItem |
WorkManager.schedule(Work work)
Dispatches a Work asynchronously.
|
WorkItem |
WorkManager.schedule(Work work,
WorkListener wl)
Dispatches a Work asynchronously.
|