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 ack_rates : Option[(Double, Double)]

  7. def acquire (entry: QueueEntry): AcquiredQueueEntry

  8. var acquired : LinkedNodeList[AcquiredQueueEntry]

  9. def acquired_count : Int

  10. var acquired_size : Long

  11. def adjust_prefetch_size : (Long, Long)

  12. def advance (value: QueueEntry): Unit

    Advances the subscriptions position to the specified queue entry.

  13. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  14. def assert_executing : Unit

    Definition Classes
    Dispatched
  15. def browser : Boolean

  16. def check_consumer_stall : Unit

  17. def check_finish_close : Unit

  18. def check_load_stall : Unit

  19. def clone (): AnyRef

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

  21. def collocate (value: DispatchQueue): Unit

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

    Definition Classes
    DeliveryProducer
  23. val consumer : DeliveryConsumer

  24. val consumer_buffer : Int

  25. var consumer_stall_ms : Long

  26. var consumer_stall_start : Long

  27. def dispatch_queue : DispatchQueue

    Definition Classes
    Subscription → Dispatched → DeliveryProducer
  28. var enqueue_size_at_last_interval : Long

  29. var enqueue_size_per_interval : Long

  30. def eq (arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  32. def exclusive : Boolean

  33. def finalize (): Unit

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

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

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

    Definition Classes
    AnyRef → Any
  37. val id : Int

  38. var idle_start : Long

  39. var idle_total : Long

  40. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  41. var load_stall_ms : Long

  42. var load_stall_start : Long

  43. def matches (entry: Delivery): Boolean

  44. def ne (arg0: AnyRef): Boolean

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

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

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

  48. def open (): Unit

  49. var pending_close_action : () ⇒ Unit

  50. var pos : QueueEntry

  51. val queue : Queue

  52. def refill_prefetch : Unit

  53. 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.

  54. def send_buffer_size : Int

    Definition Classes
    DeliveryProducer
  55. var session : DeliverySession

  56. var started_at : Long

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

    Attributes
    final
    Definition Classes
    AnyRef
  58. def tail_parked : Boolean

  59. def toString (): String

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

  61. var total_ack_size : Long

  62. var total_nack_count : Long

  63. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Dispatched

Inherited from DeliveryProducer

Inherited from AnyRef

Inherited from Any