public class ThreadDeadlocksDetector extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ThreadDeadlocksDetector.JVM16Printer |
static class |
ThreadDeadlocksDetector.KillListener |
static interface |
ThreadDeadlocksDetector.Listener |
static interface |
ThreadDeadlocksDetector.Printer |
Constructor and Description |
---|
ThreadDeadlocksDetector() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
long[] |
detectThreadLock() |
File |
dump(long[] lockedIds) |
static void |
killThreads(Set<Long> ids) |
void |
schedule(long period,
ThreadDeadlocksDetector.Listener listener) |
public File dump(long[] lockedIds) throws UnsupportedEncodingException, IOException
public long[] detectThreadLock()
public void schedule(long period, ThreadDeadlocksDetector.Listener listener)
public void cancel()
Copyright © 2013 Nuxeo SA. All Rights Reserved.