Class

com.hootsuite.akka.persistence.redis.snapshot

RedisSnapshotStore

Related Doc: package snapshot

Permalink

class RedisSnapshotStore extends SnapshotStore with ActorLogging with DefaultRedisComponent with ByteArraySerializer with SnapshotExecutionContext

Writes snapshot in Sorted Set, using SequenceNr as score.

Linear Supertypes
SnapshotExecutionContext, ByteArraySerializer, DefaultRedisComponent, SnapshotStore, ActorLogging, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RedisSnapshotStore
  2. SnapshotExecutionContext
  3. ByteArraySerializer
  4. DefaultRedisComponent
  5. SnapshotStore
  6. ActorLogging
  7. Actor
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisSnapshotStore()

    Permalink

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit lazy val actorSystem: ActorSystem

    Permalink

    Define actor system for Rediscala and ByteArraySerializer

    Define actor system for Rediscala and ByteArraySerializer

    Definition Classes
    RedisSnapshotStoreByteArraySerializerDefaultRedisComponent
  5. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  13. def deleteAsync(persistenceId: String, criteria: SnapshotSelectionCriteria): Future[Unit]

    Permalink

    Plugin API: deletes all snapshots matching criteria.

    Plugin API: deletes all snapshots matching criteria.

    This call is protected with a circuit-breaker.

    persistenceId

    id of the persistent actor.

    criteria

    selection criteria for deleting.

    Definition Classes
    RedisSnapshotStore → SnapshotStore
  14. def deleteAsync(metadata: SnapshotMetadata): Future[Unit]

    Permalink

    Plugin API: deletes the snapshot identified by metadata.

    Plugin API: deletes the snapshot identified by metadata.

    This call is protected with a circuit-breaker.

    metadata

    snapshot metadata.

    Definition Classes
    RedisSnapshotStore → SnapshotStore
  15. implicit val ec: ExecutionContext

    Permalink
    Definition Classes
    SnapshotExecutionContext
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def fromBytes[T](a: Array[Byte])(implicit arg0: ClassTag[T]): Try[T]

    Permalink
    Definition Classes
    ByteArraySerializer
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def loadAsync(persistenceId: String, criteria: SnapshotSelectionCriteria): Future[Option[SelectedSnapshot]]

    Permalink

    Plugin API: asynchronously loads a snapshot.

    Plugin API: asynchronously loads a snapshot.

    persistenceId

    processor id.

    criteria

    selection criteria for loading.

    Definition Classes
    RedisSnapshotStore → SnapshotStore
  24. def log: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def postStop(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  30. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  31. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  32. final def receive: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    SnapshotStore → Actor
  33. def receivePluginInternal: akka.actor.Actor.Receive

    Permalink
    Definition Classes
    SnapshotStore
  34. final val receiveSnapshotStore: akka.actor.Actor.Receive

    Permalink
    Definition Classes
    SnapshotStore
  35. lazy val redis: RedisClient

    Permalink
    Definition Classes
    DefaultRedisComponent
  36. def saveAsync(metadata: SnapshotMetadata, snapshot: Any): Future[Unit]

    Permalink

    Plugin API: asynchronously saves a snapshot.

    Plugin API: asynchronously saves a snapshot.

    metadata

    snapshot metadata.

    snapshot

    snapshot.

    Definition Classes
    RedisSnapshotStore → SnapshotStore
  37. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  38. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  39. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def toBytes(data: AnyRef): Try[Array[Byte]]

    Permalink
    Definition Classes
    ByteArraySerializer
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  44. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SnapshotExecutionContext

Inherited from ByteArraySerializer

Inherited from DefaultRedisComponent

Inherited from SnapshotStore

Inherited from ActorLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped