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. DeliverySession
  2. SessionSink
  3. Sink
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def close: Unit

  2. abstract def consumer: DeliveryConsumer

  3. abstract def enqueue_item_counter: Long

    The number of elements accepted by this session.

    The number of elements accepted by this session.

    Definition Classes
    SessionSink
  4. abstract 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.

    Definition Classes
    SessionSink
  5. abstract def enqueue_ts: Long

    The total size of the elements accepted by this session.

    The total size of the elements accepted by this session.

    Definition Classes
    SessionSink
  6. abstract def full: Boolean

    returns

    true if the sink is full

    Definition Classes
    Sink
  7. abstract 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.

    Definition Classes
    Sink
  8. abstract def producer: DeliveryProducer

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

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

    Definition Classes
    Sink
  11. abstract 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.

    Definition Classes
    SessionSink

Concrete 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()
  11. def flatMap[Y](func: (Y) ⇒ Option[Delivery]): Sink[Y]

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

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

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

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

    Definition Classes
    Sink
  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SessionSink[Delivery]

Inherited from Sink[Delivery]

Inherited from AnyRef

Inherited from Any

Ungrouped