Packages

c

akka.persistence.snapshot.redis

RedisSnapshotStore

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.

Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisSnapshotStore
  2. SnapshotStore
  3. ActorLogging
  4. Actor
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RedisSnapshotStore(conf: Config)

Type Members

  1. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. 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
  4. 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()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  7. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  10. def aroundReceive(receive: actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. implicit val context: ActorContext
    Definition Classes
    Actor
  14. def deleteAsync(metadata: SnapshotMetadata): Future[Unit]
    Definition Classes
    RedisSnapshotStore → SnapshotStore
  15. def deleteAsync(persistenceId: String, criteria: SnapshotSelectionCriteria): Future[Unit]
    Definition Classes
    RedisSnapshotStore → SnapshotStore
  16. implicit def ec: ExecutionContextExecutor
  17. 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
  18. 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
  19. 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
  20. 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
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. 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()
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def loadAsync(persistenceId: String, criteria: SnapshotSelectionCriteria): Future[Option[SelectedSnapshot]]
    Definition Classes
    RedisSnapshotStore → SnapshotStore
  28. def log: LoggingAdapter
    Definition Classes
    ActorLogging
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  33. def postStop(): Unit
    Definition Classes
    RedisSnapshotStore → Actor
  34. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  35. def preStart(): Unit
    Definition Classes
    RedisSnapshotStore → Actor
  36. final def receive: PartialFunction[Any, Unit]
    Definition Classes
    SnapshotStore → Actor
  37. def receivePluginInternal: actor.Actor.Receive
    Definition Classes
    SnapshotStore
  38. final val receiveSnapshotStore: actor.Actor.Receive
    Definition Classes
    SnapshotStore
  39. var redis: RedisClient
  40. def saveAsync(metadata: SnapshotMetadata, snapshot: Any): Future[Unit]
    Definition Classes
    RedisSnapshotStore → SnapshotStore
  41. implicit final val self: ActorRef
    Definition Classes
    Actor
  42. final def sender(): ActorRef
    Definition Classes
    Actor
  43. val serialization: Serialization
  44. def snapshotFromBytes(a: Array[Byte]): Snapshot
  45. def snapshotToBytes(s: Snapshot): Array[Byte]
  46. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  47. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  48. implicit def system: ActorSystem
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. 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.

  2. 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.

Inherited from SnapshotStore

Inherited from ActorLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromRedisSnapshotStore to any2stringadd[RedisSnapshotStore]

Inherited by implicit conversion StringFormat fromRedisSnapshotStore to StringFormat[RedisSnapshotStore]

Inherited by implicit conversion Ensuring fromRedisSnapshotStore to Ensuring[RedisSnapshotStore]

Inherited by implicit conversion ArrowAssoc fromRedisSnapshotStore to ArrowAssoc[RedisSnapshotStore]

Ungrouped