public class SuspendManagerUtil
extends java.lang.Object
Constructor and Description |
---|
SuspendManagerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
assertSuspendContext(SuspendContextImpl context) |
static SuspendContextImpl |
findContextByThread(SuspendManager suspendManager,
ThreadReferenceProxyImpl thread)
Returns suspend context that suspends the thread specified (may be currently evaluating)
|
static SuspendContextImpl |
getEvaluatingContext(SuspendManager suspendManager,
ThreadReferenceProxyImpl thread) |
static SuspendContextImpl |
getSuspendingContext(SuspendManager suspendManager,
ThreadReferenceProxyImpl thread) |
static java.util.Set<SuspendContextImpl> |
getSuspendingContexts(SuspendManager suspendManager,
ThreadReferenceProxyImpl thread) |
static boolean |
isEvaluating(SuspendManager suspendManager,
ThreadReferenceProxyImpl thread) |
static java.lang.Object |
prepareForResume(SuspendContextImpl context) |
static void |
restoreAfterResume(SuspendContextImpl context,
java.lang.Object resumeData) |
public static boolean isEvaluating(SuspendManager suspendManager, ThreadReferenceProxyImpl thread)
public static SuspendContextImpl findContextByThread(SuspendManager suspendManager, ThreadReferenceProxyImpl thread)
public static void assertSuspendContext(SuspendContextImpl context)
public static java.util.Set<SuspendContextImpl> getSuspendingContexts(SuspendManager suspendManager, ThreadReferenceProxyImpl thread)
public static SuspendContextImpl getSuspendingContext(SuspendManager suspendManager, ThreadReferenceProxyImpl thread)
public static void restoreAfterResume(SuspendContextImpl context, java.lang.Object resumeData)
public static java.lang.Object prepareForResume(SuspendContextImpl context)
public static SuspendContextImpl getEvaluatingContext(SuspendManager suspendManager, ThreadReferenceProxyImpl thread)