SnapshotDao

org.apache.pekko.persistence.jdbc.snapshot.dao.SnapshotDao
trait SnapshotDao

Attributes

Source
SnapshotDao.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

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

Attributes

Source
SnapshotDao.scala
def deleteAllSnapshots(persistenceId: String): Future[Unit]

Attributes

Source
SnapshotDao.scala
def deleteUpToMaxSequenceNr(persistenceId: String, maxSequenceNr: Long): Future[Unit]

Attributes

Source
SnapshotDao.scala
def deleteUpToMaxSequenceNrAndMaxTimestamp(persistenceId: String, maxSequenceNr: Long, maxTimestamp: Long): Future[Unit]

Attributes

Source
SnapshotDao.scala
def deleteUpToMaxTimestamp(persistenceId: String, maxTimestamp: Long): Future[Unit]

Attributes

Source
SnapshotDao.scala
def latestSnapshot(persistenceId: String): Future[Option[(SnapshotMetadata, Any)]]

Attributes

Source
SnapshotDao.scala
def save(snapshotMetadata: SnapshotMetadata, snapshot: Any): Future[Unit]

Attributes

Source
SnapshotDao.scala
def snapshotForMaxSequenceNr(persistenceId: String, sequenceNr: Long): Future[Option[(SnapshotMetadata, Any)]]

Attributes

Source
SnapshotDao.scala
def snapshotForMaxSequenceNrAndMaxTimestamp(persistenceId: String, sequenceNr: Long, timestamp: Long): Future[Option[(SnapshotMetadata, Any)]]

Attributes

Source
SnapshotDao.scala
def snapshotForMaxTimestamp(persistenceId: String, timestamp: Long): Future[Option[(SnapshotMetadata, Any)]]

Attributes

Source
SnapshotDao.scala