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 |
---|---|
com.google.common.util.concurrent.ListenableFuture<Session> |
initAsync()
Initialize this session asynchronously.
|
close, closeAsync, execute, execute, execute, executeAsync, executeAsync, executeAsync, getCluster, getLoggedKeyspace, getState, init, isClosed, prepare, prepare, prepareAsync, prepareAsync
com.google.common.util.concurrent.ListenableFuture<Session> initAsync()
Copyright © 2012–2015. All rights reserved.