Interface Closeable
- All Known Subinterfaces:
ConnectionFactory<C>
public interface Closeable
A closeable resource.
This interface is mostly used for internal resource management of Vert.x.
- Author:
- Tim Fox
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose(Completable<Void> completion) Close this resource, thecompletionpromise must be notified when the operation has completed.
-
Method Details
-
close
Close this resource, thecompletionpromise must be notified when the operation has completed.- Parameters:
completion- the promise to signal when close has completed
-