Class SubscriptionManager
- java.lang.Object
-
- akka.actor.AbstractActor
-
- org.eclipse.ditto.services.utils.search.SubscriptionManager
-
- All Implemented Interfaces:
akka.actor.Actor
public final class SubscriptionManager extends akka.actor.AbstractActorActor that manages search subscriptions for 1 websocket connection or 1 ConnectionPersistenceActor.- Since:
- 1.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringACTOR_NAMEName of this actor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description akka.actor.AbstractActor.ReceivecreateReceive()static akka.actor.Propsprops(Duration idleTimeout, akka.actor.ActorRef pubSubMediator, akka.actor.ActorSelection proxyActor, akka.stream.Materializer materializer)Create Props for a subscription manager.-
Methods inherited from class akka.actor.AbstractActor
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, getSelf, getSender, postRestart, postStop, preRestart, preRestart, preStart, receive, receiveBuilder, self, sender, supervisorStrategy, unhandled
-
-
-
-
Field Detail
-
ACTOR_NAME
public static final String ACTOR_NAME
Name of this actor.- See Also:
- Constant Field Values
-
-
Method Detail
-
props
public static akka.actor.Props props(Duration idleTimeout, akka.actor.ActorRef pubSubMediator, akka.actor.ActorSelection proxyActor, akka.stream.Materializer materializer)
Create Props for a subscription manager.- Parameters:
idleTimeout- lifetime of an idle SubscriptionActor.pubSubMediator- pub-sub mediator for reporting of out-of-sync things.proxyActor- recipient of thing and StreamThings commands.materializer- materializer for the search streams.- Returns:
- Props of the actor.
-
createReceive
public akka.actor.AbstractActor.Receive createReceive()
- Specified by:
createReceivein classakka.actor.AbstractActor
-
-