abstract class AbstractActorSubscriber extends AbstractActor with ActorSubscriber
Java API compatible with lambda expressions
- Annotations
- @deprecated
- Deprecated
(Since version 2.5.0) 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.- Source
- ActorSubscriber.scala
- See also
- Alphabetic
- By Inheritance
- AbstractActorSubscriber
- ActorSubscriber
- AbstractActor
- Actor
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AbstractActorSubscriber()
- 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.
Type Members
-
type
Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
Abstract Value Members
-
abstract
def
createReceive(): actor.AbstractActor.Receive
- Definition Classes
- AbstractActor
-
abstract
def
requestStrategy: RequestStrategy
- Attributes
- protected
- Definition Classes
- ActorSubscriber
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from AbstractActorSubscriber to any2stringadd[AbstractActorSubscriber] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (AbstractActorSubscriber, B)
- Implicit
- This member is added by an implicit conversion from AbstractActorSubscriber to ArrowAssoc[AbstractActorSubscriber] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
aroundPostRestart(reason: Throwable): Unit
INTERNAL API
INTERNAL API
- Attributes
- protected[akka]
- Definition Classes
- ActorSubscriber → Actor
-
def
aroundPostStop(): Unit
INTERNAL API
INTERNAL API
- Attributes
- protected[akka]
- Definition Classes
- ActorSubscriber → Actor
-
def
aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
INTERNAL API
INTERNAL API
- Attributes
- protected[akka]
- Definition Classes
- ActorSubscriber → Actor
-
def
aroundPreStart(): Unit
INTERNAL API
INTERNAL API
- Attributes
- protected[akka]
- Definition Classes
- ActorSubscriber → Actor
-
def
aroundReceive(receive: Receive, msg: Any): Unit
INTERNAL API
INTERNAL API
- Attributes
- protected[akka]
- Definition Classes
- ActorSubscriber → Actor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cancel(): Unit
Cancel upstream subscription.
Cancel upstream subscription. No more elements will be delivered after cancel.
The ActorSubscriber will 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.
- Attributes
- protected
- Definition Classes
- ActorSubscriber
-
final
def
canceled: Boolean
- Definition Classes
- ActorSubscriber
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
implicit
val
context: ActorContext
- Definition Classes
- Actor
-
def
ensuring(cond: (AbstractActorSubscriber) ⇒ Boolean, msg: ⇒ Any): AbstractActorSubscriber
- Implicit
- This member is added by an implicit conversion from AbstractActorSubscriber to Ensuring[AbstractActorSubscriber] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (AbstractActorSubscriber) ⇒ Boolean): AbstractActorSubscriber
- Implicit
- This member is added by an implicit conversion from AbstractActorSubscriber to Ensuring[AbstractActorSubscriber] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): AbstractActorSubscriber
- Implicit
- This member is added by an implicit conversion from AbstractActorSubscriber to Ensuring[AbstractActorSubscriber] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): AbstractActorSubscriber
- Implicit
- This member is added by an implicit conversion from AbstractActorSubscriber to Ensuring[AbstractActorSubscriber] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from AbstractActorSubscriber to StringFormat[AbstractActorSubscriber] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getContext(): ActorContext
- Definition Classes
- AbstractActor
-
def
getSelf(): ActorRef
- Definition Classes
- AbstractActor
-
def
getSender(): ActorRef
- Definition Classes
- AbstractActor
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
postRestart(reason: Throwable): Unit
- Definition Classes
- AbstractActor → Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
postStop(): Unit
- Definition Classes
- AbstractActor → Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preRestart(reason: Throwable, message: Optional[Any]): Unit
- Definition Classes
- AbstractActor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preStart(): Unit
- Definition Classes
- AbstractActor → Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
receive: PartialFunction[Any, Unit]
- Definition Classes
- AbstractActor → Actor
-
final
def
receiveBuilder(): ReceiveBuilder
- Definition Classes
- AbstractActor
-
def
remainingRequested: Int
The number of stream elements that have already been requested from upstream but not yet received.
The number of stream elements that have already been requested from upstream but not yet received.
- Attributes
- protected
- Definition Classes
- ActorSubscriber
-
def
request(elements: Long): Unit
Request a number of elements from upstream.
Request a number of elements from upstream.
- Attributes
- protected
- Definition Classes
- ActorSubscriber
-
implicit final
val
self: ActorRef
- Definition Classes
- Actor
-
final
def
sender(): ActorRef
- Definition Classes
- Actor
-
def
supervisorStrategy: SupervisorStrategy
- Definition Classes
- AbstractActor → Actor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unhandled(message: Any): Unit
- Definition Classes
- Actor
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (AbstractActorSubscriber, B)
- Implicit
- This member is added by an implicit conversion from AbstractActorSubscriber to ArrowAssoc[AbstractActorSubscriber] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
def
preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- AbstractActor → Actor
- Annotations
- @deprecated @throws( classOf[java.lang.Exception] )
- Deprecated
(Since version 2.5.0) Override preRestart with message parameter with Optional type instead