Class Cotani.Builder
java.lang.Object
com.cotani.Cotani.Builder
- Enclosing class:
Cotani
-
Method Summary
Modifier and TypeMethodDescriptionbuild()with(AutoCloseable closeable) withAsync(Supplier<CompletionStage<Void>> asyncCloseable) Registers an asynchronous teardown stage.
-
Method Details
-
timeout
-
with
-
withAsync
Registers an asynchronous teardown stage.The supplier is invoked when
Cotani.close()orCotani.closeAsync()is called. -
build
-