public interface SimpleClient
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the underlying
Cluster instance. |
com.datastax.driver.core.Session |
connect()
Creates a new session on this cluster.
|
boolean |
isClose()
Checks whether the underlying cluster instance is closed.
|
com.datastax.driver.core.Session connect()
Creates a new session on this cluster. *
com.datastax.driver.core.exceptions.NoHostAvailableException
- if we cannot reach any cassandra contact points.void close()
Close the underlying Cluster
instance.
boolean isClose()
Checks whether the underlying cluster instance is closed.
Copyright © 2020 The Apache Software Foundation. All rights reserved.