org.apache.activemq.apollo.broker

Subscription

class Subscription extends DeliveryProducer with Dispatched

Interfaces a DispatchConsumer with a Queue. Tracks current position of the consumer on the queue, and the delivery rate so that slow consumers can be detected. It also tracks the entries which the consumer has acquired.

Linear Supertypes
Dispatched, DeliveryProducer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Subscription
  2. Dispatched
  3. DeliveryProducer
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Subscription (queue: Queue, consumer: DeliveryConsumer)

Type Members

  1. class AcquiredQueueEntry extends LinkedNode[AcquiredQueueEntry]

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 acquire (entry: QueueEntry): AcquiredQueueEntry

  7. var acquired : LinkedNodeList[AcquiredQueueEntry]

  8. def acquired_count : Int

  9. var acquired_size : Long

  10. def advance (value: QueueEntry): Unit

    Advances the subscriptions position to the specified queue entry.

  11. var advanced_size : Int

  12. var advanced_sizes : ListBuffer[Int]

  13. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  14. def assert_executing : Unit

    Definition Classes
    Dispatched
  15. var avg_advanced_size : Int

  16. def browser : Boolean

  17. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def close (): Unit

  19. def collocate (value: DispatchQueue): Unit

    Definition Classes
    DeliveryProducer
  20. def connection : Option[BrokerConnection]

    Definition Classes
    DeliveryProducer
  21. val consumer : DeliveryConsumer

  22. def dispatch_queue : DispatchQueue

    Definition Classes
    Subscription → Dispatched → DeliveryProducer
  23. def eq (arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  25. def exclusive : Boolean

  26. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def full : Boolean

  28. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  29. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  30. val id : Int

  31. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  32. def matches (entry: Delivery): Boolean

  33. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  36. def offer (delivery: Delivery): Boolean

  37. def open (): Unit

  38. var pos : QueueEntry

  39. val queue : Queue

  40. def refill_prefetch : Unit

  41. def rewind (value: QueueEntry): Unit

    Rewinds to a previously seen location.

    Rewinds to a previously seen location.. Happens when a nack occurs from another consumer.

  42. def send_buffer_size : Int

    Definition Classes
    DeliveryProducer
  43. var session : DeliverySession

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

    Attributes
    final
    Definition Classes
    AnyRef
  45. def tail_parked : Boolean

  46. var tail_parkings : Int

  47. def toString (): String

    Definition Classes
    Subscription → AnyRef → Any
  48. var total_ack_count : Long

  49. var total_advanced_size : Long

  50. var total_nack_count : Long

  51. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Dispatched

Inherited from DeliveryProducer

Inherited from AnyRef

Inherited from Any