trait SnapshotFallbackStore[Breadcrumb <: AnyRef] extends CommonFallbackStore[Breadcrumb]
INTERNAL API API MAY CHANGE
Plugin API for a fallback store for snapshots. The snapshot store implementations may, if configured to use an implementation of this API, use this fallback store to store snapshots while only storing a reference (aka "breadcrumb") returned by the plugin in the snapshot store. The snapshot can then be retrieved by providing the breadcrumb.
Implementations must have a constructor taking an actor system, a Config object, and the config path
- Breadcrumb
the type of breadcrumb emitted and aceepted by this store: this type should have an Akka serializer registered and may not be generic
- Annotations
- @ApiMayChange() @InternalApi()
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SnapshotFallbackStore
- CommonFallbackStore
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def breadcrumbClass: Class[Breadcrumb]
- Definition Classes
- CommonFallbackStore
- abstract def close(): Unit
- Definition Classes
- CommonFallbackStore
- abstract def loadSnapshot(breadcrumb: Breadcrumb, persistenceId: String, seqNr: Long): Future[Option[SnapshotFromFallback]]
- abstract def saveSnapshot(persistenceId: String, seqNr: Long, writeTimestamp: Instant, eventTimestamp: Instant, serId: Int, serManifest: String, payload: Array[Byte], tags: Set[String], meta: Option[((Int, String), Array[Byte])]): Future[Breadcrumb]
- abstract def toBreadcrumb(maybeBreadcrumb: AnyRef): Option[Breadcrumb]
- Definition Classes
- CommonFallbackStore
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()