scalaz.stream

actor

trait actor extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. actor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def localQueue[A]: (Actor[Msg[A]], Process[Task, A])

    Like queue, but runs the actor locally, on whatever thread sends it messages.

  15. def localVariable[A]: (Actor[Msg[A]], Process[Task, A])

    Like ref, but runs the actor locally, on whatever thread sends it messages.

  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. def queue[A](implicit S: Strategy): (Actor[Msg[A]], Process[Task, A])

    Returns a discrete Process stream that can be added to or halted asynchronously by sending the returned Actor messages.

    Returns a discrete Process stream that can be added to or halted asynchronously by sending the returned Actor messages.

    message.queue.enqueue(a) adds an element to the stream in FIFO order, message.queue.close terminates the stream, message.queue.cancel terminates the stream immediately, ignoring queued messages, message.queue.fail(e) terminates the stream with the given error, and message.queue.fail(e,true) terminates the stream with the given error, ignoring queued messages.

    Note that the memory usage of the actor can grow unbounded if enqueue messages are sent to the actor faster than they are dequeued by whatever consumes the output Process. Use the message.queue.size message to asynchronously check the queue size and throttle whatever is feeding the actor messages.

  20. def ref[A](implicit S: Strategy): (Actor[Msg[A]], Process[Task, A])

    Returns a continuous Process whose value can be set asynchronously using the returned Actor.

    Returns a continuous Process whose value can be set asynchronously using the returned Actor.

    message.ref.Set(a,cb) eventually sets the value of the stream, message.ref.Fail(e) terminates the stream with the given error, or closes stream when error is End, message.ref.Get(cb) gets current value of ref via callback if passed with true will get current value only when supplied serial is different from current serial

    process will self-terminate if:

    - Fail(End) is received as normal termination - Fail(err) is received as termination with err as failure - Set fails as termination with that set failure - Get callback fails as termination with that get failure

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toSink[A](snk: Actor[A]): Process[Task, (A) ⇒ Task[Unit]]

    Convert an Actor[A] to a Sink[Task, A].

  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. def topic[A](implicit S: Strategy): Actor[Msg[A]]

    Return actor and signal that forms the topic.

    Return actor and signal that forms the topic. Each subscriber is identified by SubscriberRef and have its own Queue to keep messages that enqueue when the subscriber is processing the emitted messages from publisher.

    There may be one or more publishers to single topic.

    Messages that are processed :

    message.topic.Publish - publishes single message to topic message.topic.Fail - fails the topic. If the End si passed as cause, this topic is finished.

    message.topic.Subscribe - Subscribes single subscriber and starts collecting messages for it message.topic.UnSubscribe - Un-subscribes subscriber message.topic.Get - Registers callback or gets messages in subscribers queue

    Signal is notified always when the count of subscribers changes, and is set with very first subscriber

  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped