public final class BlockedThreadAdvisory extends AdvisoryEvent
Title: Structured Data Objects
Description: Defines an advisory raised in a case of blocked thread.
Copyright: Copyright (c) 2012
Company: StreamScape Technologies
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EVENT_ID |
SEMANTIC_TYPE_NAME
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
BlockedThreadAdvisory() |
BlockedThreadAdvisory(long threadId,
java.lang.String threadName,
java.lang.StackTraceElement[] threadStackTrace,
long blockedByThreadId,
java.lang.String blockedByThreadName,
java.lang.StackTraceElement[] blockedByThreadStackTrace) |
Modifier and Type | Method and Description |
---|---|
long |
getBlockedByThreadId()
Returns an identifier of the blocking thread (i.e.
|
java.lang.String |
getBlockedByThreadName()
Returns a name of the blocking thread (i.e.
|
java.lang.StackTraceElement[] |
getBlockedByThreadStackTrace()
Returns a stack trace of the blocking thread (i.e.
|
long |
getThreadId()
Returns an identifier of the blocked thread.
|
java.lang.String |
getThreadName()
Returns a name of the blocked thread.
|
java.lang.StackTraceElement[] |
getThreadStackTrace()
Returns a stack trace of the blocked thread.
|
equals, getCorrelationId, getCorrelationIdAsBytes, setCorrelationId, setCorrelationIdAsBytes, setEventGroupId, setEventKey
clone, getDurable, getEventGroupId, getEventId, getEventKey, getEventSource, getSerialVersionUID, getTimestamp, getTransmitAccess, isCoalesced, setDurable, setEventId
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDurable, getEventGroupId, getEventId, getEventKey, getEventSource, getTimestamp, getTransmitAccess
getSerialVersionUID
public static final java.lang.String EVENT_ID
public BlockedThreadAdvisory()
public BlockedThreadAdvisory(long threadId, java.lang.String threadName, java.lang.StackTraceElement[] threadStackTrace, long blockedByThreadId, java.lang.String blockedByThreadName, java.lang.StackTraceElement[] blockedByThreadStackTrace)
public long getThreadId()
public java.lang.String getThreadName()
public java.lang.StackTraceElement[] getThreadStackTrace()
null
if the stack trace is not available.public long getBlockedByThreadId()
public java.lang.String getBlockedByThreadName()
public java.lang.StackTraceElement[] getBlockedByThreadStackTrace()
null
if the stack trace is not available.Copyright © 2015-2024 StreamScape Technologies. All rights reserved.