Class/Object

io.funcqrs.akka

ProjectionActorWithCustomOffsetPersistence

Related Docs: object ProjectionActorWithCustomOffsetPersistence | package akka

Permalink

class ProjectionActorWithCustomOffsetPersistence[E] extends ProjectionActor with PersistedOffsetCustom

A ProjectionActor that saves the offset using a CustomOffsetPersistenceStrategy

Linear Supertypes
PersistedOffsetCustom, OffsetPersistence, ProjectionActor, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, ActorSubscriber, ActorLogging, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProjectionActorWithCustomOffsetPersistence
  2. PersistedOffsetCustom
  3. OffsetPersistence
  4. ProjectionActor
  5. Stash
  6. RequiresMessageQueue
  7. UnrestrictedStash
  8. StashSupport
  9. ActorSubscriber
  10. ActorLogging
  11. Actor
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProjectionActorWithCustomOffsetPersistence(projection: Projection, sourceProvider: EventsSourceProvider, customOffsetPersistence: CustomOffsetPersistenceStrategy)

    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. object OnNextEvent

    Permalink
    Definition Classes
    ProjectionActor
  5. def acceptingEvents: Receive

    Permalink
    Definition Classes
    ProjectionActor
  6. def aroundPostRestart(reason: Throwable): Unit

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

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

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

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

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    ActorSubscriber → Actor
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def cancel(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ActorSubscriber
  13. final def canceled: Boolean

    Permalink
    Definition Classes
    ActorSubscriber
  14. def clone(): AnyRef

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def errorHandling(phase: String): Receive

    Permalink

    Used as error handling Receive when running projections or accepting new events.

    Used as error handling Receive when running projections or accepting new events.

    Will stop the actor whenever a failure kicks in. BackoffSupervisor must restart it

    Definition Classes
    ProjectionActor
  19. def fallbackRequestStrategy: RequestStrategy

    Permalink
    Attributes
    protected
    Definition Classes
    ProjectionActor
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  24. def isStashing: Boolean

    Permalink
    Definition Classes
    ProjectionActor
  25. var lastProcessedOffset: Option[Long]

    Permalink
    Definition Classes
    ProjectionActor
  26. def log: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  27. val maxDemand: Int

    Permalink
    Definition Classes
    ProjectionActor
  28. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    UnrestrictedStash → Actor
  33. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    UnrestrictedStash → Actor
  34. def preStart(): Unit

    Permalink

    On preStart we read the offset from db and start the events streaming

    On preStart we read the offset from db and start the events streaming

    Definition Classes
    PersistedOffsetCustom
  35. def readOffset: Future[Option[Long]]

    Permalink

    Returns the current offset as persisted in DB

    Returns the current offset as persisted in DB

    Definition Classes
    ProjectionActorWithCustomOffsetPersistencePersistedOffsetCustom
  36. def receive: Receive

    Permalink
    Definition Classes
    ProjectionActor → Actor
  37. def recoveryCompleted(): Unit

    Permalink
    Definition Classes
    ProjectionActor
  38. def remainingRequested: Int

    Permalink
    Attributes
    protected
    Definition Classes
    ActorSubscriber
  39. def request(elements: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ActorSubscriber
  40. def requestStrategy: RequestStrategy

    Permalink
    Attributes
    protected
    Definition Classes
    ProjectionActor → ActorSubscriber
  41. def runningProjection(currentEvent: Any, offset: Long): Receive

    Permalink
    Definition Classes
    ProjectionActor
  42. def saveCurrentOffset(offset: Long): Future[Unit]

    Permalink
  43. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  45. def stash(): Unit

    Permalink
    Definition Classes
    StashSupport
  46. def stashWithBackPressure(): Unit

    Permalink
    Definition Classes
    ProjectionActor
  47. def supervisorStrategy: SupervisorStrategy

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

    Permalink
    Definition Classes
    AnyRef
  49. implicit val timeout: Timeout

    Permalink
    Definition Classes
    ProjectionActor
  50. def toString(): String

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

    Permalink
    Definition Classes
    Actor
  52. def unstashAll(): Unit

    Permalink
    Definition Classes
    StashSupport
  53. def unstashAllWithBackPressure(): Unit

    Permalink
    Definition Classes
    ProjectionActor
  54. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def waitingOffsetPersistence: Receive

    Permalink
    Definition Classes
    ProjectionActor

Inherited from PersistedOffsetCustom

Inherited from OffsetPersistence

Inherited from ProjectionActor

Inherited from Stash

Inherited from RequiresMessageQueue[DequeBasedMessageQueueSemantics]

Inherited from UnrestrictedStash

Inherited from StashSupport

Inherited from ActorSubscriber

Inherited from ActorLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped