public class

ThreadInfoCompositeData

extends LazyCompositeData
java.lang.Object
   ↳ sun.management.LazyCompositeData
     ↳ sun.management.ThreadInfoCompositeData

Class Overview

A CompositeData for ThreadInfo for the local management support. This class avoids the performance penalty paid to the construction of a CompositeData use in the local case.

Summary

Public Methods
long blockedCount()
long blockedTime()
static ThreadInfoCompositeData getInstance(CompositeData cd)
ThreadInfo getThreadInfo()
boolean inNative()
static boolean isCurrentVersion(CompositeData cd)
boolean isCurrentVersion()
LockInfo lockInfo()
String lockName()
long lockOwnerId()
String lockOwnerName()
MonitorInfo[] lockedMonitors()
LockInfo[] lockedSynchronizers()
StackTraceElement[] stackTrace()
boolean suspended()
long threadId()
String threadName()
Thread.State threadState()
static CompositeData toCompositeData(ThreadInfo ti)
static void validateCompositeData(CompositeData cd)
Validate if the input CompositeData has the expected CompositeType (i.e.
long waitedCount()
long waitedTime()
Protected Methods
CompositeData getCompositeData()
Returns the CompositeData representing this object.
[Expand]
Inherited Methods
From class sun.management.LazyCompositeData
From class java.lang.Object
From interface javax.management.openmbean.CompositeData

Public Methods

public long blockedCount ()

public long blockedTime ()

public static ThreadInfoCompositeData getInstance (CompositeData cd)

public ThreadInfo getThreadInfo ()

public boolean inNative ()

public static boolean isCurrentVersion (CompositeData cd)

public boolean isCurrentVersion ()

public LockInfo lockInfo ()

public String lockName ()

public long lockOwnerId ()

public String lockOwnerName ()

public MonitorInfo[] lockedMonitors ()

public LockInfo[] lockedSynchronizers ()

public StackTraceElement[] stackTrace ()

public boolean suspended ()

public long threadId ()

public String threadName ()

public Thread.State threadState ()

public static CompositeData toCompositeData (ThreadInfo ti)

public static void validateCompositeData (CompositeData cd)

Validate if the input CompositeData has the expected CompositeType (i.e. contain all attributes with expected names and types).

public long waitedCount ()

public long waitedTime ()

Protected Methods

protected CompositeData getCompositeData ()

Returns the CompositeData representing this object. The returned CompositeData object must be an instance of javax.management.openmbean.CompositeDataSupport class so that no implementation specific class is required for unmarshalling besides JMX 1.2 classes.