class RedisSnapshotStore extends SnapshotStore
Stores snapshots inside a redis database.
For each persistence identifier persistenceId, it creates one key, namely:
snapshot:persistenceId that contains the ordered set of snapshot data. The data order
is the one of sequenceId.
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- RedisSnapshotStore
- SnapshotStore
- ActorLogging
- Actor
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RedisSnapshotStore(conf: Config)
Type Members
- type Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from RedisSnapshotStore toany2stringadd[RedisSnapshotStore] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (RedisSnapshotStore, B)
- Implicit
- This member is added by an implicit conversion from RedisSnapshotStore toArrowAssoc[RedisSnapshotStore] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundReceive(receive: actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- implicit val context: ActorContext
- Definition Classes
- Actor
- def deleteAsync(metadata: SnapshotMetadata): Future[Unit]
- Definition Classes
- RedisSnapshotStore → SnapshotStore
- def deleteAsync(persistenceId: String, criteria: SnapshotSelectionCriteria): Future[Unit]
- Definition Classes
- RedisSnapshotStore → SnapshotStore
- implicit def ec: ExecutionContextExecutor
- def ensuring(cond: (RedisSnapshotStore) => Boolean, msg: => Any): RedisSnapshotStore
- Implicit
- This member is added by an implicit conversion from RedisSnapshotStore toEnsuring[RedisSnapshotStore] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (RedisSnapshotStore) => Boolean): RedisSnapshotStore
- Implicit
- This member is added by an implicit conversion from RedisSnapshotStore toEnsuring[RedisSnapshotStore] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): RedisSnapshotStore
- Implicit
- This member is added by an implicit conversion from RedisSnapshotStore toEnsuring[RedisSnapshotStore] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): RedisSnapshotStore
- Implicit
- This member is added by an implicit conversion from RedisSnapshotStore toEnsuring[RedisSnapshotStore] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from RedisSnapshotStore toStringFormat[RedisSnapshotStore] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadAsync(persistenceId: String, criteria: SnapshotSelectionCriteria): Future[Option[SelectedSnapshot]]
- Definition Classes
- RedisSnapshotStore → SnapshotStore
- def log: LoggingAdapter
- Definition Classes
- ActorLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def postStop(): Unit
- Definition Classes
- RedisSnapshotStore → Actor
- def preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def preStart(): Unit
- Definition Classes
- RedisSnapshotStore → Actor
- final def receive: PartialFunction[Any, Unit]
- Definition Classes
- SnapshotStore → Actor
- def receivePluginInternal: actor.Actor.Receive
- Definition Classes
- SnapshotStore
- final val receiveSnapshotStore: actor.Actor.Receive
- Definition Classes
- SnapshotStore
- var redis: RedisClient
- def saveAsync(metadata: SnapshotMetadata, snapshot: Any): Future[Unit]
- Definition Classes
- RedisSnapshotStore → SnapshotStore
- implicit final val self: ActorRef
- Definition Classes
- Actor
- final def sender(): ActorRef
- Definition Classes
- Actor
- val serialization: Serialization
- def snapshotFromBytes(a: Array[Byte]): Snapshot
- def snapshotToBytes(s: Snapshot): Array[Byte]
- def supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def system: ActorSystem
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unhandled(message: Any): Unit
- Definition Classes
- Actor
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def →[B](y: B): (RedisSnapshotStore, B)
- Implicit
- This member is added by an implicit conversion from RedisSnapshotStore toArrowAssoc[RedisSnapshotStore] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.