public class ThreadAuditor extends Object
Modifier and Type | Class and Description |
---|---|
class |
ThreadAuditor.ThreadHandle |
Constructor and Description |
---|
ThreadAuditor() |
Modifier and Type | Method and Description |
---|---|
ThreadAuditor.ThreadHandle |
addCurrentThread() |
String |
auditThreads()
Audits the sanity of all threads
|
long |
getPingIntervalInMillisecs() |
boolean |
isEnabled() |
void |
ping(ThreadAuditor.ThreadHandle threadHandle) |
void |
removeThread(Thread thread) |
void |
reset() |
void |
setPingIntervalInMillisecs(long value) |
String |
toString()
Returns a string representation of the object
|
public long getPingIntervalInMillisecs()
public void setPingIntervalInMillisecs(long value)
public boolean isEnabled()
public ThreadAuditor.ThreadHandle addCurrentThread()
public void removeThread(Thread thread)
public void ping(ThreadAuditor.ThreadHandle threadHandle)
public void reset()
public String auditThreads()
Copyright © 2015. All Rights Reserved.