public interface AsyncInitSession extends Session
Session
that can be initialized asynchronously.
This interface exists only for backward compatibility reasons: initAsync()
should really be
defined by Session
, but adding it after the fact would break binary compatibility.
By default, all sessions returned by the driver implement this interface. The only way you would get
sessions that don't is if you use a custom Cluster
subclass.Session.State
Modifier and Type | Method and Description |
---|---|
ListenableFuture<Session> |
initAsync()
Initialize this session asynchronously.
|
close, closeAsync, execute, execute, execute, executeAsync, executeAsync, executeAsync, getCluster, getLoggedKeyspace, getState, init, isClosed, prepare, prepare, prepareAsync, prepareAsync
ListenableFuture<Session> initAsync()