Class EventAndResponsePublisher

  • All Implemented Interfaces:
    akka.actor.Actor, akka.actor.Stash, akka.actor.StashSupport, akka.actor.UnrestrictedStash, akka.dispatch.RequiresMessageQueue<akka.dispatch.DequeBasedMessageQueueSemantics>, akka.stream.actor.ActorPublisher<SessionedJsonifiable>

    public final class EventAndResponsePublisher
    extends akka.stream.actor.AbstractActorPublisherWithStash<SessionedJsonifiable>
    Actor publishing Events and CommandResponses which were sent to him applying backpressure if necessary.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class akka.actor.AbstractActor

        akka.actor.AbstractActor.ActorContext, akka.actor.AbstractActor.Receive
      • Nested classes/interfaces inherited from interface akka.actor.Actor

        akka.actor.Actor.emptyBehavior$, akka.actor.Actor.ignoringBehavior$
      • Nested classes/interfaces inherited from interface akka.stream.actor.ActorPublisher

        akka.stream.actor.ActorPublisher.Internal$
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      akka.actor.AbstractActor.Receive createReceive()  
      static akka.actor.Props props​(int backpressureBufferSize)
      Creates Akka configuration object Props for this EventAndResponsePublisher.
      • Methods inherited from class akka.stream.actor.AbstractActorPublisherWithStash

        akka$actor$StashSupport$_setter_$akka$actor$StashSupport$$capacity_$eq, akka$actor$StashSupport$_setter_$mailbox_$eq, akka$actor$StashSupport$$capacity, akka$actor$StashSupport$$theStash, akka$actor$StashSupport$$theStash_$eq, akka$stream$actor$ActorPublisher$_setter_$akka$stream$actor$ActorPublisher$$state_$eq, akka$stream$actor$ActorPublisher$$demand, akka$stream$actor$ActorPublisher$$demand_$eq, akka$stream$actor$ActorPublisher$$lifecycleState, akka$stream$actor$ActorPublisher$$lifecycleState_$eq, akka$stream$actor$ActorPublisher$$scheduledSubscriptionTimeout, akka$stream$actor$ActorPublisher$$scheduledSubscriptionTimeout_$eq, akka$stream$actor$ActorPublisher$$state, akka$stream$actor$ActorPublisher$$subscriber, akka$stream$actor$ActorPublisher$$subscriber_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, clearStash, isActive, isCanceled, isCompleted, isErrorEmitted, mailbox, onComplete, onCompleteThenStop, onError, onErrorThenStop, onNext, postStop, prepend, preRestart, stash, subscriptionTimeout, totalDemand, unstash, unstashAll, unstashAll
      • Methods inherited from class akka.actor.AbstractActor

        akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, context, emptyBehavior, getContext, getSelf, getSender, postRestart, preRestart, preStart, receive, receiveBuilder, self, sender, supervisorStrategy, unhandled
      • Methods inherited from interface akka.actor.Actor

        akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, context, postRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
      • Methods inherited from interface akka.actor.StashSupport

        context, self
    • Method Detail

      • props

        public static akka.actor.Props props​(int backpressureBufferSize)
        Creates Akka configuration object Props for this EventAndResponsePublisher.
        Parameters:
        backpressureBufferSize - the max buffer size of how many outstanding CommandResponses and Events a single consumer may have - additionally incoming CommandResponses and Events are dropped if this size is reached.
        Returns:
        the Akka configuration Props object.
      • createReceive

        public akka.actor.AbstractActor.Receive createReceive()
        Specified by:
        createReceive in class akka.actor.AbstractActor