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 adjust_prefetch_size : (Long, Long)

  11. def advance (value: QueueEntry): Unit

    Advances the subscriptions position to the specified queue entry.

  12. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  13. def assert_executing : Unit

    Definition Classes
    Dispatched
  14. def browser : Boolean

  15. def check_consumer_stall : Unit

  16. def check_load_stall : Unit

  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. var consumer_stall_ms : Long

  23. var consumer_stall_start : Long

  24. def dispatch_queue : DispatchQueue

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

  26. var enqueue_size_per_interval : Long

  27. def eq (arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  29. def exclusive : Boolean

  30. def finalize (): Unit

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

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

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

    Definition Classes
    AnyRef → Any
  34. val id : Int

  35. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  36. var load_stall_ms : Long

  37. var load_stall_start : Long

  38. def matches (entry: Delivery): Boolean

  39. def ne (arg0: AnyRef): Boolean

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

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

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

  43. def open (): Unit

  44. var pos : QueueEntry

  45. val queue : Queue

  46. def refill_prefetch : Unit

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

  48. def send_buffer_size : Int

    Definition Classes
    DeliveryProducer
  49. var session : DeliverySession

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

    Attributes
    final
    Definition Classes
    AnyRef
  51. def tail_parked : Boolean

  52. def toString (): String

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

  54. var total_nack_count : Long

  55. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Dispatched

Inherited from DeliveryProducer

Inherited from AnyRef

Inherited from Any