public class Executor.ReservationHandle
extends java.lang.Object
implements java.lang.AutoCloseable
IllegalMonitorStateException
will be thrown.
A reservation cannot be acquired twice - any subsequent reservation
attempts after a successful one will result in #IllegalStateException
Constructor and Description |
---|
ReservationHandle()
Acquires the Executor's reservation
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
stopExecution()
Asynchronously stop the execution of execution proposal tasks
|