Class ManagedAdmissionController.Permit
java.lang.Object
org.j7m.middleware.application.components.ManagedAdmissionController.Permit
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
ManagedAdmissionController
Idempotent permit which may be released by another completion thread.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Releases exactly one active slot; cancellation of a waiter does not call this implicitly.
-
Method Details
-
close
public void close()Releases exactly one active slot; cancellation of a waiter does not call this implicitly.- Specified by:
closein interfaceAutoCloseable
-