Packages

package cassandra

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package javadsl
  2. package scaladsl

Type Members

  1. class CassandraMetricsRegistry extends Extension

    Retrieves Cassandra metrics registry for an actor system

  2. final class CassandraServerMetaData extends AnyRef
  3. class CassandraSessionSettings extends AnyRef
  4. class CassandraWriteSettings extends AnyRef
  5. trait CqlSessionProvider extends AnyRef

    The implementation of the SessionProvider is used for creating the Cassandra Session.

    The implementation of the SessionProvider is used for creating the Cassandra Session. By default the DefaultSessionProvider is building the Cluster from configuration properties but it is possible to replace the implementation of the SessionProvider to reuse another session or override the Cluster builder with other settings.

    The implementation is defined in configuration session-provider property. It may optionally have a constructor with an ActorSystem and Config parameter. The config parameter is the config section of the plugin.

  6. class DefaultSessionProvider extends CqlSessionProvider

    Builds a CqlSession from the given config via DriverConfigLoaderFromConfig.

    Builds a CqlSession from the given config via DriverConfigLoaderFromConfig.

    The configuration for the driver is typically the datastax-java-driver section of the ActorSystem's configuration, but it's possible to use other configuration. The configuration path of the driver's configuration can be defined with datastax-java-driver-config property in the given config.

  7. class DriverConfigLoaderFromConfig extends DriverConfigLoader

    DriverConfigLoader that reads the settings of the Cassandra driver from a given Config.

    DriverConfigLoader that reads the settings of the Cassandra driver from a given Config. The DefaultDriverConfigLoader loads application.conf or file, which is not necessarily the same as the ActorSystem's configuration.

    The DefaultSessionProvider is using this when building CqlSession.

    Intended to be used with CqlSession.builder().withConfigLoader when implementing a custom CqlSessionProvider.

Ungrouped