Top Description Methods
io.r2dbc.spi

public Interface Closeable

Known Direct Subinterfaces
io.r2dbc.spi.Connection
Annotations
@FunctionalInterface
Imports
org.reactivestreams.Publisher, .Subscriber

A Closeable is an object that can be closed. The close() method is invoked to release resources that the object is holding (such as open connections).

Method Summary

Modifier and TypeMethod and Description
public Publisher<Void>

Returns:

a Publisher that termination is complete
close
()

Close this object and release any resources associated with it.

Method Detail

closeback to summary
public Publisher<Void> close()

Close this object and release any resources associated with it. If the object is already closed, then subscriptions complete successfully and the close operation has no effect.

Returns:Publisher<Void>

a Publisher that termination is complete