org.apache.activemq.apollo.broker

Subscription

class Subscription extends DeliveryProducer with Dispatched with StallCheckSupport

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
StallCheckSupport, Dispatched, DeliveryProducer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Subscription
  2. StallCheckSupport
  3. Dispatched
  4. DeliveryProducer
  5. AnyRef
  6. 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. 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. 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: Unit

  12. def advance(value: QueueEntry): Unit

    Advances the subscriptions position to the specified queue entry.

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def assert_executing: Unit

    Definition Classes
    Dispatched
  15. def avg_enqueue_size_per_interval: Int

  16. def browser: Boolean

  17. def check_finish_close: Unit

  18. def clone(): AnyRef

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

  20. def collocate(value: DispatchQueue): Unit

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

    Definition Classes
    DeliveryProducer
  22. val consumer: DeliveryConsumer

  23. val consumer_buffer: Int

  24. def dispatch_queue: DispatchQueue

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

  26. var enqueue_size_per_interval: CircularBuffer[Int]

  27. final def eq(arg0: AnyRef): Boolean

    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

    Definition Classes
    SubscriptionStallCheckSupport
  32. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  34. val id: Int

  35. var idle_start: Long

  36. var idle_total: Long

  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. def matches(entry: Delivery): Boolean

  39. final def ne(arg0: AnyRef): Boolean

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

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

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

  43. def open(): Unit

  44. var pending_close_action: () ⇒ Unit

  45. var pos: QueueEntry

  46. val queue: Queue

  47. def refill_prefetch: Unit

  48. def reset_stall_timer: Long

    Definition Classes
    StallCheckSupport
  49. 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.

  50. def send_buffer_size: Int

    Definition Classes
    DeliveryProducer
  51. var session: DeliverySession

  52. def stall_check: Unit

    Definition Classes
    StallCheckSupport
  53. var stall_ms: Long

    Definition Classes
    StallCheckSupport
  54. var stall_start: Long

    Definition Classes
    StallCheckSupport
  55. var started_at: Long

  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  57. def tail_parked: Boolean

  58. def toString(): String

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

  60. var total_ack_size: Long

  61. var total_nack_count: Long

  62. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from StallCheckSupport

Inherited from Dispatched

Inherited from DeliveryProducer

Inherited from AnyRef

Inherited from Any