Top Description Methods
io.vertx.core

public Interface Closeable

Known Direct Subinterfaces
io.vertx.core.impl.WorkerExecutorInternal
Known Direct Implementers
io.vertx.core.datagram.impl.DatagramSocketImpl, io.vertx.core.eventbus.impl.HandlerRegistration, io.vertx.core.eventbus.impl.clustered.Serializer, io.vertx.core.http.impl.HttpServerImpl, io.vertx.core.http.impl.HttpClientBase, io.vertx.core.http.impl.HttpClientImpl, io.vertx.core.impl.CloseFuture, io.vertx.core.impl.SharedClientHolder.Hook, io.vertx.core.impl.VertxImpl.InternalTimerHandler, io.vertx.core.impl.launcher.commands.RunCommand, io.vertx.core.net.impl.NetClientImpl, io.vertx.core.net.impl.NetServerImpl, io.vertx.core.net.impl.TCPServerBase

A closeable resource.

This interface is mostly used for internal resource management of Vert.x.

Author
Tim Fox

Method Summary

Modifier and TypeMethod and Description
public void
close(Promise<Void>
the promise to signal when close has completed
completion
)

Close this resource, the completion promise must be notified when the operation has completed.

Method Detail

closeback to summary
public void close(Promise<Void> completion)

Close this resource, the completion promise must be notified when the operation has completed.

Parameters
completion:Promise<Void>

the promise to signal when close has completed