org.apache.storm.cassandra.client

## Interface SimpleClient

- All Known Implementing Classes:
    DefaultClient

      public interface SimpleClient

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

- - ### Method Detail

    - #### connect

          com.datastax.driver.core.Session connect()

      Creates a new session on this cluster. *

      Returns:
        a new session on this cluster.
      Throws:
        `com.datastax.driver.core.exceptions.NoHostAvailableException` - if we cannot reach any cassandra contact points.

    - #### close

          void close()

      Close the underlying `Cluster` instance.

    - #### isClose

          boolean isClose()

      Checks whether the underlying cluster instance is closed.

Copyright © 2019 The Apache Software Foundation. All rights reserved.