Package jadex.bytecode.vmhacks
Class VmHacks.InstrumentationCommand
java.lang.Object
jadex.bytecode.vmhacks.VmHacks.InstrumentationCommand
- Enclosing class:
VmHacks
Instrumentation command issued to the instrumentation agent.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
await()
Wait for command to finish.void
await
(long timeout) Wait for command to finish.final void
execute
(Instrumentation instrumentation) Execute the command.abstract void
run
(Instrumentation instrumentation) Custom command code.
-
Field Details
-
sem
The semaphore.
-
-
Constructor Details
-
InstrumentationCommand
protected InstrumentationCommand()
-
-
Method Details
-
execute
Execute the command. -
run
Custom command code. -
await
public void await()Wait for command to finish. -
await
Wait for command to finish.- Throws:
TimeoutException
-