protected abstract static class VmHacks.InstrumentationCommand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.Semaphore |
sem
The semaphore.
|
Modifier | Constructor and Description |
---|---|
protected |
InstrumentationCommand() |
Modifier and Type | Method and Description |
---|---|
void |
await()
Wait for command to finish.
|
void |
await(long timeout)
Wait for command to finish.
|
void |
execute(java.lang.instrument.Instrumentation instrumentation)
Execute the command.
|
abstract void |
run(java.lang.instrument.Instrumentation instrumentation)
Custom command code.
|
public final void execute(java.lang.instrument.Instrumentation instrumentation)
public abstract void run(java.lang.instrument.Instrumentation instrumentation)
public void await()
public void await(long timeout) throws java.util.concurrent.TimeoutException
java.util.concurrent.TimeoutException