Package akka.stream.actor
Interface ActorSubscriber
-
- All Superinterfaces:
Actor
- All Known Implementing Classes:
AbstractActorSubscriber,ActorRefSinkActor,FileSubscriber,OutputStreamSubscriber,UntypedActorSubscriber
public interface ActorSubscriber extends Actor
Deprecated.Use `akka.stream.stage.GraphStage` instead, it allows for all operations an Actor would and is more type-safe as well as guaranteed to be ReactiveStreams compliant. Since 2.5.0.INTERNAL API
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classActorSubscriber.OnSubscribeDeprecated.INTERNAL APIstatic classActorSubscriber.OnSubscribe$Deprecated.-
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void_canceled_$eq(boolean x$1)Deprecated.voidaroundPostRestart(java.lang.Throwable reason)Deprecated.INTERNAL APIvoidaroundPostStop()Deprecated.INTERNAL APIvoidaroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)Deprecated.INTERNAL APIvoidaroundPreStart()Deprecated.INTERNAL APIvoidaroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)Deprecated.INTERNAL APIvoidcancel()Deprecated.Cancel upstream subscription.booleancanceled()Deprecated.intlongToIntMax(long n)Deprecated.intremainingRequested()Deprecated.The number of stream elements that have already been requested from upstream but not yet received.voidrequest(long elements)Deprecated.Request a number of elements from upstream.voidrequested_$eq(long x$1)Deprecated.RequestStrategyrequestStrategy()Deprecated.voidsubscription_$eq(scala.Option<org.reactivestreams.Subscription> x$1)Deprecated.voidsuper$aroundPostRestart(java.lang.Throwable reason)Deprecated.INTERNAL APIvoidsuper$aroundPostStop()Deprecated.INTERNAL APIvoidsuper$aroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)Deprecated.INTERNAL APIvoidsuper$aroundPreStart()Deprecated.INTERNAL APIvoidsuper$aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)Deprecated.INTERNAL API-
Methods inherited from interface akka.actor.Actor
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, context, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
-
-
-
-
Method Detail
-
super$aroundReceive
void super$aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)Deprecated.INTERNAL API- Parameters:
receive- (undocumented)msg- (undocumented)
-
super$aroundPreStart
void super$aroundPreStart()
Deprecated.INTERNAL API
-
super$aroundPostRestart
void super$aroundPostRestart(java.lang.Throwable reason)
Deprecated.INTERNAL API- Parameters:
reason- (undocumented)
-
super$aroundPreRestart
void super$aroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)Deprecated.INTERNAL API- Parameters:
reason- (undocumented)message- (undocumented)
-
super$aroundPostStop
void super$aroundPostStop()
Deprecated.INTERNAL API
-
subscription_$eq
void subscription_$eq(scala.Option<org.reactivestreams.Subscription> x$1)
Deprecated.
-
requested_$eq
void requested_$eq(long x$1)
Deprecated.
-
_canceled_$eq
void _canceled_$eq(boolean x$1)
Deprecated.
-
requestStrategy
RequestStrategy requestStrategy()
Deprecated.
-
canceled
boolean canceled()
Deprecated.
-
aroundReceive
void aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)Deprecated.INTERNAL API- Specified by:
aroundReceivein interfaceActor- Parameters:
receive- (undocumented)msg- (undocumented)
-
aroundPreStart
void aroundPreStart()
Deprecated.INTERNAL API- Specified by:
aroundPreStartin interfaceActor
-
aroundPostRestart
void aroundPostRestart(java.lang.Throwable reason)
Deprecated.INTERNAL API- Specified by:
aroundPostRestartin interfaceActor- Parameters:
reason- (undocumented)
-
aroundPreRestart
void aroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)Deprecated.INTERNAL API- Specified by:
aroundPreRestartin interfaceActor- Parameters:
reason- (undocumented)message- (undocumented)
-
aroundPostStop
void aroundPostStop()
Deprecated.INTERNAL API- Specified by:
aroundPostStopin interfaceActor
-
request
void request(long elements)
Deprecated.Request a number of elements from upstream.- Parameters:
elements- (undocumented)
-
cancel
void cancel()
Deprecated.Cancel upstream subscription. No more elements will be delivered after cancel.The
ActorSubscriberwill be stopped immediately after signaling cancellation. In case the upstream subscription has not yet arrived the Actor will stay alive until a subscription arrives, cancel it and then stop itself.
-
remainingRequested
int remainingRequested()
Deprecated.The number of stream elements that have already been requested from upstream but not yet received.- Returns:
- (undocumented)
-
longToIntMax
int longToIntMax(long n)
Deprecated.
-
-