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.ObjectInstrumentation command issued to the instrumentation agent. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.SemaphoresemThe semaphore. 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedInstrumentationCommand() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidawait()Wait for command to finish.voidawait(long timeout)Wait for command to finish.voidexecute(java.lang.instrument.Instrumentation instrumentation)Execute the command.abstract voidrun(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.TimeoutExceptionWait for command to finish.- Throws:
 java.util.concurrent.TimeoutException
 
 - 
 
 -