Class CassandraDataStore

java.lang.Object
org.apache.wicket.pageStore.AbstractPersistentPageStore
org.wicketstuff.datastores.cassandra.CassandraDataStore
All Implemented Interfaces:
IPageStore, IPersistentPageStore

public class CassandraDataStore extends AbstractPersistentPageStore implements IPersistentPageStore
A store that saves serialiazed pages in Apache Cassandra.
  • Constructor Details

    • CassandraDataStore

      public CassandraDataStore(String applicationName, ICassandraSettings settings)
      Constructor. Creates a Cluster based on the contact points provided by the passed settings
      Parameters:
      settings - The various settings
    • CassandraDataStore

      public CassandraDataStore(String applicationName, com.datastax.driver.core.Cluster cluster, ICassandraSettings settings)
      Constructor. Initializes the connection to the Cassandra cluster and creates the keyspace and/or table if necessary.
      Parameters:
      cluster - The Cassandra cluster
      settings - The various settings
  • Method Details