public class SuspendManagerImpl extends java.lang.Object implements SuspendManager
Modifier and Type | Field and Description |
---|---|
int |
suspends |
Constructor and Description |
---|
SuspendManagerImpl(DebugProcessImpl debugProcess) |
public SuspendManagerImpl(DebugProcessImpl debugProcess)
public SuspendContextImpl pushSuspendContext(int suspendPolicy, int nVotes)
pushSuspendContext
in interface SuspendManager
public SuspendContextImpl pushSuspendContext(com.sun.jdi.event.EventSet set)
pushSuspendContext
in interface SuspendManager
public void resume(SuspendContextImpl context)
resume
in interface SuspendManager
public void popFrame(SuspendContextImpl suspendContext)
popFrame
in interface SuspendManager
public SuspendContextImpl getPausedContext()
getPausedContext
in interface SuspendManager
public void popContext(SuspendContextImpl suspendContext)
public java.util.List<SuspendContextImpl> getEventContexts()
getEventContexts
in interface SuspendManager
public boolean isFrozen(ThreadReferenceProxyImpl thread)
isFrozen
in interface SuspendManager
public boolean isSuspended(ThreadReferenceProxyImpl thread) throws com.sun.jdi.ObjectCollectedException
isSuspended
in interface SuspendManager
com.sun.jdi.ObjectCollectedException
public void suspendThread(SuspendContextImpl context, ThreadReferenceProxyImpl thread)
suspendThread
in interface SuspendManager
public void resumeThread(SuspendContextImpl context, ThreadReferenceProxyImpl thread)
resumeThread
in interface SuspendManager
public void freezeThread(ThreadReferenceProxyImpl thread)
freezeThread
in interface SuspendManager
public void unfreezeThread(ThreadReferenceProxyImpl thread)
unfreezeThread
in interface SuspendManager
public void voteResume(SuspendContextImpl suspendContext)
voteResume
in interface SuspendManager
public void voteSuspend(SuspendContextImpl suspendContext)
voteSuspend
in interface SuspendManager
public java.util.List<SuspendContextImpl> getPausedContexts()
public boolean hasPausedContext(SuspendContextImpl suspendContext)