| Modifier and Type | Class and Description |
|---|---|
| private static class | ThreadDumpMessage.
Factory to create basic thread information. |
| private static class | ThreadDumpMessage.
Proxy pattern used to serialize the ThreadDumpMessage. |
| public static interface | ThreadDumpMessage.
Factory to create Thread information. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Lazy | |
| private String | |
| private static final long | |
| private volatile Map | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | formatTo(final StringBuilder
the StringBuilder to write into sb)Implements org. Writes a text representation of this object into the specified |
| public String | Returns: the title.Implements org. Returns the title. |
| public String | Returns: the ThreadDump suitable for logging.Implements org. Returns the ThreadDump in printable format. |
| public Object[] | Returns: the "parameters" to this Message.Implements org. Returns an array with a single element, a Map containing the ThreadInformation as the key. |
| public Throwable | Returns: nullImplements org. Always returns null. |
| private static ThreadDumpMessage. | |
| private void | |
| public String | |
| protected Object | Returns: a ThreadDumpMessageProxy.Creates a ThreadDumpMessageProxy that can be serialized. |
| FACTORY | back to summary |
|---|---|
| private static final Lazy<ThreadDumpMessage. | |
| formattedMessage | back to summary |
|---|---|
| private String formattedMessage | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| threads | back to summary |
|---|---|
| private volatile Map<ThreadInformation, StackTraceElement[]> threads | |
| title | back to summary |
|---|---|
| private final String title | |
| ThreadDumpMessage | back to summary |
|---|---|
| public ThreadDumpMessage(final String title) Generate a ThreadDumpMessage with a title.
| |
| ThreadDumpMessage | back to summary |
|---|---|
| private ThreadDumpMessage(final String formattedMsg, final String title) | |
| formatTo | back to summary |
|---|---|
| public void formatTo(final StringBuilder sb) Implements org. Doc from org. Writes a text representation of this object into the specified
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements org. Returns the title. | |
| getFormattedMessage | back to summary |
|---|---|
| public String getFormattedMessage() Implements org. Returns the ThreadDump in printable format. | |
| getParameters | back to summary |
|---|---|
| public Object[] getParameters() Implements org. Returns an array with a single element, a Map containing the ThreadInformation as the key. and the StackTraceElement array as the value; | |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() Implements org. Always returns null. | |
| initFactory | back to summary |
|---|---|
| private static ThreadDumpMessage. | |
| readObject | back to summary |
|---|---|
| private void readObject(final ObjectInputStream stream) throws InvalidObjectException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| writeReplace | back to summary |
|---|---|
| protected Object writeReplace() Creates a ThreadDumpMessageProxy that can be serialized.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Map |
| BasicThreadInfoFactory | back to summary |
|---|---|
| private BasicThreadInfoFactory() | |
| createThreadInfo | back to summary |
|---|---|
| public Map Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private static final long | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Object |
| formattedMsg | back to summary |
|---|---|
| private final String formattedMsg | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| title | back to summary |
|---|---|
| private final String title | |
| ThreadDumpMessageProxy | back to summary |
|---|---|
| pack-priv ThreadDumpMessageProxy(final ThreadDumpMessage msg) | |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() Returns a ThreadDumpMessage using the data in the proxy.
| |
Implementations of this class are loaded via the standard java Service Provider interface.
| Modifier and Type | Method and Description |
|---|---|
| public Map |
| createThreadInfo | back to summary |
|---|---|
| public Map | |