Package | Description |
---|---|
javax.resource.spi.work |
This package contains APIs for the Work Management, Generic Work and Security Work contracts.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DistributableWork
This models a
Work instance that would be distributed by a
DistributableWorkManager for execution in a remote
DistributableWorkManager |
Modifier and Type | Method and Description |
---|---|
Work |
WorkEvent.getWork()
Return the
Work instance which is the cause of the event. |
Modifier and Type | Method and Description |
---|---|
void |
WorkManager.doWork(Work work)
Accepts a
Work instance for processing. |
void |
WorkManager.doWork(Work work,
long startTimeout,
ExecutionContext execContext,
WorkListener workListener)
Accepts a
Work instance for processing. |
void |
WorkManager.scheduleWork(Work work)
Accepts a
Work instance for processing. |
void |
WorkManager.scheduleWork(Work work,
long startTimeout,
ExecutionContext execContext,
WorkListener workListener)
Accepts a
Work instance for processing. |
long |
WorkManager.startWork(Work work)
Accepts a
Work instance for processing. |
long |
WorkManager.startWork(Work work,
long startTimeout,
ExecutionContext execContext,
WorkListener workListener)
Accepts a
Work instance for processing. |
Constructor and Description |
---|
WorkEvent(Object source,
int type,
Work work,
WorkException exc)
Constructor.
|
WorkEvent(Object source,
int type,
Work work,
WorkException exc,
long startDuration)
Constructor.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.