Package cloud.spawnery.agent.api
Interface ReadinessHold
- All Superinterfaces:
AutoCloseable
A hold that keeps this server out of readiness until it is released.
close() throws nothing, so it works in try-with-resources without
a catch, or kept and closed later from a callback.
Closing twice releases once.
-
Method Summary
-
Method Details
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-