package cassandra
- Alphabetic
- Public
- Protected
Type Members
- class CassandraMetricsRegistry extends Extension
Retrieves Cassandra metrics registry for an actor system
- final class CassandraServerMetaData extends AnyRef
- class CassandraSessionSettings extends AnyRef
- class CassandraWriteSettings extends AnyRef
- trait CqlSessionProvider extends AnyRef
The implementation of the
SessionProvideris used for creating the Cassandra Session.The implementation of the
SessionProvideris 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-providerproperty. It may optionally have a constructor with an ActorSystem and Config parameter. The config parameter is the config section of the plugin. - class DefaultSessionProvider extends CqlSessionProvider
Builds a
CqlSessionfrom the givenconfigvia DriverConfigLoaderFromConfig.Builds a
CqlSessionfrom the givenconfigvia DriverConfigLoaderFromConfig.The configuration for the driver is typically the
datastax-java-driversection of the ActorSystem's configuration, but it's possible to use other configuration. The configuration path of the driver's configuration can be defined withdatastax-java-driver-configproperty in the givenconfig. - class DriverConfigLoaderFromConfig extends DriverConfigLoader
DriverConfigLoaderthat reads the settings of the Cassandra driver from a givenConfig.DriverConfigLoaderthat reads the settings of the Cassandra driver from a givenConfig. TheDefaultDriverConfigLoaderloadsapplication.confor 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().withConfigLoaderwhen implementing a custom CqlSessionProvider.
Value Members
- object CassandraMetricsRegistry extends ExtensionId[CassandraMetricsRegistry] with ExtensionIdProvider
- object CassandraSessionSettings
- object CassandraWriteSettings
- object CqlSessionProvider
- object DriverConfigLoaderFromConfig