CassandraClusterConnection (gCube Notifications Checker Servlet 2.0.1-4.5.0-132054 API)
Date: 2017-06-10

org.gcube.portal.notifications.database.connections

## Class CassandraClusterConnection

- java.lang.Object
- - org.gcube.portal.notifications.database.connections.CassandraClusterConnection

-     public class CassandraClusterConnection
      extends Object

  Return an object to contact cassandra and query the cluster.
  Author:
    Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CassandraClusterConnection()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `closeConnection()` Close connection to cassandra
    `protected void` | `finalize()`
    `static org.gcube.portal.databook.server.DatabookStore` | `getConnection()` Retrieve a connection library instance

    - ### Methods inherited from class java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CassandraClusterConnection

          public CassandraClusterConnection()

  - ### Method Detail

    - #### getConnection

          public static org.gcube.portal.databook.server.DatabookStore getConnection()

      Retrieve a connection library instance
      Returns:
        null on error

    - #### closeConnection

          public static void closeConnection()

      Close connection to cassandra

    - #### finalize

          protected void finalize()
                           throws Throwable

      Overrides:
        `finalize` in class `Object`
      Throws:
        `Throwable`

Copyright © 2017. All Rights Reserved.