Interface ReadinessHold

All Superinterfaces:
AutoCloseable

public interface ReadinessHold extends 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

    Modifier and Type
    Method
    Description
    void