package cassandra
- Alphabetic
- By Inheritance
- cassandra
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
CassandraMetricsRegistry extends Extension
Retrieves Cassandra metrics registry for an actor system
- class CassandraPluginConfig extends AnyRef
-
class
ConfigSessionProvider extends SessionProvider
Default implementation of the
SessionProvider
that is used for creating the Cassandra Session.Default implementation of the
SessionProvider
that is used for creating the Cassandra Session. This class is building the Cluster from configuration properties.You may create a subclass of this that performs lookup the contact points of the Cassandra cluster asynchronously instead of reading them in the configuration. Such a subclass should override the lookupContactPoints method.
The implementation is defined in configuration
session-provider
property. The config parameter is the config section of the plugin. -
final
case class
EventWithMetaData(event: Any, metaData: Any) extends Product with Serializable
If the event is wrapped in this class the
metaData
will be serialized and stored in themeta
column.If the event is wrapped in this class the
metaData
will be serialized and stored in themeta
column. This can be used by event adapters or other tools to store additional meta data without altering the actual domain event. - class EventsByTagMigration extends CassandraStatements with TaggedPreparedStatements with CassandraTagRecovery
- implicit final class ListenableFutureConverter[A] extends AnyVal
- case class PreparedStatementEnvelope(session: Session, ps: PreparedStatement) extends NoSerializationVerificationNeeded with Product with Serializable
-
trait
SessionProvider 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 ConfigSessionProvider 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. -
final
case class
SnapshotWithMetaData(event: Any, metaData: Any) extends Product with Serializable
If the event is wrapped in this class the
metaData
will be serialized and stored in themeta
column.If the event is wrapped in this class the
metaData
will be serialized and stored in themeta
column. This can be used by event adapters or other tools to store additional meta data without altering the actual domain event. - case class StorePathPasswordConfig(path: String, password: String) extends Product with Serializable
Value Members
- val FutureDone: Future[Done]
- def formatOffset(uuid: UUID): String
- def formatUnixTime(unixTime: Long): String
- implicit def listenableFutureToFuture[A](lf: ListenableFuture[A])(implicit executionContext: ExecutionContext): Future[A]
- def serializeEvent(p: PersistentRepr, tags: Set[String], uuid: UUID, bucketSize: BucketSize, serialization: Serialization, system: ActorSystem)(implicit executionContext: ExecutionContext): Future[Serialized]
- object CassandraMetricsRegistry extends ExtensionId[CassandraMetricsRegistry] with ExtensionIdProvider
- object CassandraPluginConfig
- object ConfigSessionProvider
- object EventWithMetaData extends Serializable
- object EventsByTagMigration
- object SessionProvider
- object SnapshotWithMetaData extends Serializable