public abstract class AbstractThreadEvent extends AbstractEvent implements ThreadEvent
ThreadEvent.Operationdata, origin| Constructor and Description |
|---|
AbstractThreadEvent(java.lang.String origin,
java.lang.Long parentId,
java.lang.Long childId)
Create a new ThreadEvent
|
| Modifier and Type | Method and Description |
|---|---|
long |
getChildId()
Get the child threadId
|
abstract ThreadEvent.Operation |
getOperation()
Get the particular type of ThreadEvent ENTERING or EXITING
|
long |
getParentId()
Get the parent threadId
|
getData, getOrigin, withDatapublic AbstractThreadEvent(java.lang.String origin,
java.lang.Long parentId,
java.lang.Long childId)
origin - the origin of the Event, presumably 'Concurrency'parentId - threadId of parent threadchildId - threadId of worker threadpublic long getParentId()
getParentId in interface ThreadEventpublic long getChildId()
getChildId in interface ThreadEventpublic abstract ThreadEvent.Operation getOperation()
getOperation in interface ThreadEvent