org.apache.activemq.apollo.broker

OverflowSink

class OverflowSink [T] extends Sink[T]

Implements a delivery sink which buffers the overflow of deliveries that a 'down stream' sink cannot accept when it's full. An overflow sink always accepts offers even when it's full.

Linear Supertypes
Sink[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. OverflowSink
  2. Sink
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OverflowSink (downstream: Sink[T])

Value Members

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  7. def clear : Unit

  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. val downstream : Sink[T]

  10. def drain : Unit

    Attributes
    protected
  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def flatMap [Y] (func: (Y) ⇒ Option[T]): Sink[Y]

    Definition Classes
    Sink
  15. def full : Boolean

    returns

    true if the sink is full

    Definition Classes
    OverflowSinkSink
  16. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  17. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  19. def map [Y] (func: (Y) ⇒ T): Sink[Y]

    Definition Classes
    Sink
  20. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def offer (value: T): Boolean

    returns

    true always even when full since those messages just get stored in a overflow list

    Definition Classes
    OverflowSinkSink
  24. def onDelivered (value: T): Unit

    Called for each value what is passed on to the down stream sink.

    Called for each value what is passed on to the down stream sink.

    Attributes
    protected
  25. val overflow : LinkedList[T]

  26. def overflowed : Boolean

  27. var refiller : Task

    Sets a refiller on the sink.

    Sets a refiller on the sink. The refiller is executed when the sink is interested in receiving more deliveries.

    Definition Classes
    OverflowSinkSink
  28. def removeFirst : Option[T]

  29. def removeLast : Option[T]

  30. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  31. def toString (): String

    Definition Classes
    AnyRef → Any
  32. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Sink[T]

Inherited from AnyRef

Inherited from Any