DefaultSnapshotDao

org.apache.pekko.persistence.jdbc.snapshot.dao.DefaultSnapshotDao
class DefaultSnapshotDao(db: JdbcBackend#Database, profile: JdbcProfile, snapshotConfig: SnapshotConfig, serialization: Serialization)(implicit ec: ExecutionContext, val mat: Materializer) extends SnapshotDao

Attributes

Source
DefaultSnapshotDao.scala
Graph
Supertypes
trait SnapshotDao
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def delete(persistenceId: String, sequenceNr: Long): Future[Unit]

Attributes

Definition Classes
Source
DefaultSnapshotDao.scala
override def deleteAllSnapshots(persistenceId: String): Future[Unit]

Attributes

Definition Classes
Source
DefaultSnapshotDao.scala
override def deleteUpToMaxSequenceNr(persistenceId: String, maxSequenceNr: Long): Future[Unit]

Attributes

Definition Classes
Source
DefaultSnapshotDao.scala
override def deleteUpToMaxSequenceNrAndMaxTimestamp(persistenceId: String, maxSequenceNr: Long, maxTimestamp: Long): Future[Unit]

Attributes

Definition Classes
Source
DefaultSnapshotDao.scala
override def deleteUpToMaxTimestamp(persistenceId: String, maxTimestamp: Long): Future[Unit]

Attributes

Definition Classes
Source
DefaultSnapshotDao.scala
override def latestSnapshot(persistenceId: String): Future[Option[(SnapshotMetadata, Any)]]

Attributes

Definition Classes
Source
DefaultSnapshotDao.scala
override def save(snapshotMetadata: SnapshotMetadata, snapshot: Any): Future[Unit]

Attributes

Definition Classes
Source
DefaultSnapshotDao.scala
override def snapshotForMaxSequenceNr(persistenceId: String, maxSequenceNr: Long): Future[Option[(SnapshotMetadata, Any)]]

Attributes

Definition Classes
Source
DefaultSnapshotDao.scala
override def snapshotForMaxSequenceNrAndMaxTimestamp(persistenceId: String, maxSequenceNr: Long, maxTimestamp: Long): Future[Option[(SnapshotMetadata, Any)]]

Attributes

Definition Classes
Source
DefaultSnapshotDao.scala
override def snapshotForMaxTimestamp(persistenceId: String, maxTimestamp: Long): Future[Option[(SnapshotMetadata, Any)]]

Attributes

Definition Classes
Source
DefaultSnapshotDao.scala

Concrete fields

Implicits

Implicits

implicit val mat: Materializer

Attributes

Source
DefaultSnapshotDao.scala