Interface ExtensionConsumer<E,​X extends java.lang.Exception>

    • Method Detail

      • useExtension

        void useExtension​(E extension)
                   throws X extends java.lang.Exception
        Will be invoked with a live extension. The associated handle will be closed when this callback returns.
        Parameters:
        extension - extension to be used only within the scope of this callback.
        Throws:
        X - optional exception thrown by this callback.
        X extends java.lang.Exception