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()
com.datastax.driver.core.exceptions.NoHostAvailableException
- if we cannot reach any cassandra contact points.void close()
Cluster
instance.boolean isClose()
Copyright © 2023 The Apache Software Foundation. All rights reserved.