|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.coherence.commonj.WorkManager.WorkHolder.Event
protected class WorkManager.WorkHolder.Event
A WorkEvent implementation.
| Field Summary |
|---|
| Fields inherited from interface commonj.work.WorkEvent |
|---|
WORK_ACCEPTED, WORK_COMPLETED, WORK_REJECTED, WORK_STARTED |
| Constructor Summary | |
|---|---|
WorkManager.WorkHolder.Event(int nType)Construct a WorkEvent. |
|
| Method Summary | |
|---|---|
commonj.work.WorkException |
getException() |
int |
getType()Return an event type. |
commonj.work.WorkItem |
getWorkItem() |
java.lang.String |
toString() |
| Constructor Detail |
|---|
public WorkManager.WorkHolder.Event(int nType)
A reason we only need to pass the event type to the constructor is that if some one holds a reference to an Event object, all other information could be retrieved from the parent WorkHolder and is not a subject to change.
nType - the event type| Method Detail |
|---|
public int getType()
getType in interface commonj.work.WorkEventpublic commonj.work.WorkItem getWorkItem()
getWorkItem in interface commonj.work.WorkEventpublic commonj.work.WorkException getException()
getException in interface commonj.work.WorkEventpublic java.lang.String toString()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||