public class ThreadExitEvent extends AbstractThreadEvent
Runnable to an executor service, e.g. ThreadPoolExecutor,
the returned Future object that tracks the completion of the submitted task may be marked as completed
before the associated ThreadExitEvent is published. In other words, a call to Future.get() may unblock prior to
the publication of the related ThreadExitEvent.ThreadEvent.Operationdata, origin| Constructor and Description |
|---|
ThreadExitEvent(java.lang.String origin,
java.lang.Long parentId,
java.lang.Long childId)
Construct a new ThreadExitEvent
|
| Modifier and Type | Method and Description |
|---|---|
ThreadEvent.Operation |
getOperation()
Get the particular type of ThreadEvent ENTERING or EXITING
|
getChildId, getParentIdgetData, getOrigin, withDatapublic ThreadExitEvent(java.lang.String origin,
java.lang.Long parentId,
java.lang.Long childId)
origin - origin of the event, presumably 'Concurrency'parentId - the threadId of the parent threadchildId - the threadId of the worker threadpublic ThreadEvent.Operation getOperation()
getOperation in interface ThreadEventgetOperation in class AbstractThreadEvent