public class VisorThreadInfo extends VisorDataTransferObject
ThreadInfo
.Constructor and Description |
---|
VisorThreadInfo()
Default constructor.
|
VisorThreadInfo(ThreadInfo ti)
Create data transfer object for given thread info.
|
Modifier and Type | Method and Description |
---|---|
long |
getBlockedCount() |
long |
getBlockedTime() |
long |
getId() |
VisorThreadLockInfo |
getLock() |
List<VisorThreadMonitorInfo> |
getLockedMonitors() |
String |
getLockName() |
long |
getLockOwnerId() |
String |
getLockOwnerName() |
List<VisorThreadLockInfo> |
getLocks() |
String |
getName() |
List<StackTraceElement> |
getStackTrace() |
Thread.State |
getState() |
long |
getWaitedCount() |
long |
getWaitedTime() |
boolean |
isInNative() |
boolean |
isSuspended() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, writeExternal
public VisorThreadInfo()
public VisorThreadInfo(ThreadInfo ti)
ti
- Thread info.public String getName()
public long getId()
public Thread.State getState()
public VisorThreadLockInfo getLock()
public String getLockName()
public long getLockOwnerId()
public String getLockOwnerName()
public boolean isInNative()
public boolean isSuspended()
public long getWaitedCount()
public long getWaitedTime()
public long getBlockedCount()
public long getBlockedTime()
public List<StackTraceElement> getStackTrace()
public List<VisorThreadLockInfo> getLocks()
public List<VisorThreadMonitorInfo> getLockedMonitors()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData
in class VisorDataTransferObject
out
- Output object to write data content.IOException
- If I/O errors occur.protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException
readExternalData
in class VisorDataTransferObject
protoVer
- Input object version.in
- Input object to load data content.IOException
- If I/O errors occur.ClassNotFoundException
- If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017