Class EventAndResponsePublisher
- java.lang.Object
-
- akka.actor.AbstractActor
-
- akka.stream.actor.AbstractActorPublisherWithStash<SessionedJsonifiable>
-
- org.eclipse.ditto.services.gateway.streaming.actors.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 publishingEvents andCommandResponses 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description akka.actor.AbstractActor.ReceivecreateReceive()static akka.actor.Propsprops(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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
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:
createReceivein classakka.actor.AbstractActor
-
-