MongoPersistenceJournalMetrics

pekko.contrib.persistence.mongodb.MongoPersistenceJournalMetrics

Attributes

Graph
Supertypes
trait MongoMetrics
trait BaseBuilder
class Object
trait Matchable
class Any
Show all

Members list

Value members

Abstract methods

def driverName: String

Concrete methods

def batchAppend(writes: Seq[AtomicWrite]): Future[Seq[Try[Unit]]]
def deleteFrom(persistenceId: String, toSequenceNr: Long): Future[Unit]
def maxSequenceNr(pid: String, from: Long): Future[Long]
def replayJournal(pid: String, from: Long, to: Long, max: Long)(replayCallback: PersistentRepr => Unit): Future[Unit]

Inherited methods

override def histogram(name: String): MongoHistogram

Builds a histogram with the given name appended to BaseBuilder.metricBaseName

Builds a histogram with the given name appended to BaseBuilder.metricBaseName

Value parameters

name

The name of the histogram. It will get appended to BaseBuilder.metricBaseName

Attributes

Returns

the histogram.

Definition Classes
Inherited from:
MongoMetrics
protected def squashToUnit[T](seq: Seq[Try[T]]): Seq[Try[Unit]]

Attributes

Inherited from:
MongoPersistenceJournallingApi
override def timer(name: String): MongoTimer

Builds a timer with the given name appended to BaseBuilder.metricBaseName

Builds a timer with the given name appended to BaseBuilder.metricBaseName

Value parameters

name

The name of the timer. It will get appended to BaseBuilder.metricBaseName

Attributes

Returns

the timer.

Definition Classes
Inherited from:
MongoMetrics

Concrete fields

lazy override val metricBaseName: MetricName

The base name for all metrics created from this builder.

The base name for all metrics created from this builder.

Attributes