Packages

final class DispatcherImpl[Index] extends Dispatcher[Index]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DispatcherImpl
  2. Dispatcher
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DispatcherImpl(name: String, zeroIndex: Index, headAtInitialization: Index)(implicit arg0: Ordering[Index])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cancel(throwableBuilder: () => Throwable): Future[Unit]

    Triggers shutdown of the Dispatcher by eagerly failing all outstanding stream subscriptions with a throwable.

    Triggers shutdown of the Dispatcher by eagerly failing all outstanding stream subscriptions with a throwable.

    throwableBuilder

    Create a new throwable. It is important to create a new throwable for each failed subscription since the throwable closing the streams or parts of it can be mutable. (e.g. the io.grpc.Metadata provided as part of io.grpc.StatusRuntimeException is mutated in the gRPC layer)

    Definition Classes
    DispatcherImplDispatcher
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def getHead(): Index

    returns the head index where this Dispatcher is at

    returns the head index where this Dispatcher is at

    Definition Classes
    DispatcherImplDispatcher
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. def shutdown(): Future[Unit]

    Triggers shutdown of the Dispatcher by completing all outstanding stream subscriptions.

    Triggers shutdown of the Dispatcher by completing all outstanding stream subscriptions. This method ensures that all outstanding subscriptions have been notified with the latest signalled head and waits for their graceful completion.

    Definition Classes
    DispatcherImplDispatcher
  17. def signalNewHead(head: Index): Unit

    Signal to this Dispatcher that there's a new head Index.

    Signal to this Dispatcher that there's a new head Index. The Dispatcher will emit values on all streams until the new head is reached.

    Definition Classes
    DispatcherImplDispatcher
  18. def startingAt[T](startExclusive: Index, subsource: SubSource[Index, T], endInclusive: Option[Index] = None): Source[(Index, T), NotUsed]

    Returns a stream of elements with the next index from start (exclusive) to end (inclusive) Throws DispatcherIsClosedException if dispatcher is in the shutting down state

    Returns a stream of elements with the next index from start (exclusive) to end (inclusive) Throws DispatcherIsClosedException if dispatcher is in the shutting down state

    Definition Classes
    DispatcherImplDispatcher
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from Dispatcher[Index]

Inherited from AnyRef

Inherited from Any

Ungrouped