|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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 typeMethod Detail |
---|
public int getType()
getType
in interface commonj.work.WorkEvent
public commonj.work.WorkItem getWorkItem()
getWorkItem
in interface commonj.work.WorkEvent
public commonj.work.WorkException getException()
getException
in interface commonj.work.WorkEvent
public java.lang.String toString()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |