Package jadex.bytecode.vmhacks
Class VmHacks.InstrumentationCommand
- java.lang.Object
-
- jadex.bytecode.vmhacks.VmHacks.InstrumentationCommand
-
- Enclosing class:
- VmHacks
protected abstract static class VmHacks.InstrumentationCommand extends java.lang.Object
Instrumentation command issued to the instrumentation agent.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.Semaphore
sem
The semaphore.
-
Constructor Summary
Constructors Modifier Constructor Description protected
InstrumentationCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
execute
public final void execute(java.lang.instrument.Instrumentation instrumentation)
Execute the command.
-
run
public abstract void run(java.lang.instrument.Instrumentation instrumentation)
Custom command code.
-
await
public void await()
Wait for command to finish.
-
await
public void await(long timeout) throws java.util.concurrent.TimeoutException
Wait for command to finish.- Throws:
java.util.concurrent.TimeoutException
-
-