org.apache.activemq.apollo.broker

DeliverySession

trait DeliverySession extends Sink[Delivery] with SessionSink[Delivery]

Before a delivery producer can send Delivery objects to a delivery consumer, it creates a Delivery session which it uses to send the deliveries over.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DeliverySession
  2. SessionSink
  3. Sink
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def close : Unit

    Attributes
    abstract
  2. def consumer : DeliveryConsumer

    Attributes
    abstract
  3. def enqueue_item_counter : Long

    The number of elements accepted by this session.

    The number of elements accepted by this session.

    Attributes
    abstract
    Definition Classes
    SessionSink
  4. def enqueue_size_counter : Long

    The total size of the elements accepted by this session.

    The total size of the elements accepted by this session.

    Attributes
    abstract
    Definition Classes
    SessionSink
  5. def enqueue_ts : Long

    The total size of the elements accepted by this session.

    The total size of the elements accepted by this session.

    Attributes
    abstract
    Definition Classes
    SessionSink
  6. def full : Boolean

    returns

    true if the sink is full

    Attributes
    abstract
    Definition Classes
    Sink
  7. def offer (value: Delivery): Boolean

    Attempts to add a value to the sink.

    Attempts to add a value to the sink. If the sink is full, this method will typically return false. The caller should try to offer the value again once the refiller is exectuted.

    returns

    true if the value was added.

    Attributes
    abstract
    Definition Classes
    Sink
  8. def producer : DeliveryProducer

    Attributes
    abstract
  9. def 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.

    Attributes
    abstract
    Definition Classes
    Sink
  10. def refiller_= (value: Task): Unit

    Attributes
    abstract
    Definition Classes
    Sink
  11. def remaining_capacity : Int

    An estimate of the capacity left in the session before it stops accepting more elements.

    An estimate of the capacity left in the session before it stops accepting more elements.

    Attributes
    abstract
    Definition Classes
    SessionSink

Concrete 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 clone (): AnyRef

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

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

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

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

    Definition Classes
    Sink
  12. def getClass (): java.lang.Class[_]

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  19. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SessionSink[Delivery]

Inherited from Sink[Delivery]

Inherited from AnyRef

Inherited from Any