org.apache.activemq.apollo.broker

Subscription

class Subscription extends Acquirer with 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, Acquirer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Subscription
  2. StallCheckSupport
  3. Dispatched
  4. DeliveryProducer
  5. Acquirer
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
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_drained: Unit

  18. def clone(): AnyRef

    Attributes
    protected[java.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 create_link_dto(include_metrics: Boolean = true): QueueConsumerLinkDTO

  25. def dispatch_queue: DispatchQueue

    Definition Classes
    Subscription → Dispatched → DeliveryProducer
  26. var drain_watchers: List[() ⇒ Unit]

  27. var enqueue_size_at_last_interval: Long

  28. var enqueue_size_per_interval: CircularBuffer[Int]

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

    Definition Classes
    AnyRef
  30. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  31. def exclusive: Boolean

  32. def finalize(): Unit

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

    Definition Classes
    SubscriptionStallCheckSupport
  34. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  36. val id: Int

  37. var idle_start: Long

  38. var idle_total: Long

  39. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

  45. def on_drain(func: ⇒ Unit): Unit

  46. def open(): Unit

  47. var pos: QueueEntry

  48. val queue: Queue

  49. def refill_prefetch: Unit

  50. def reset_stall_timer: Long

    Definition Classes
    StallCheckSupport
  51. def resume: Unit

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

  53. def send_buffer_size: Int

    Definition Classes
    DeliveryProducer
  54. var session: DeliverySession

  55. def stall_check: Unit

    Definition Classes
    StallCheckSupport
  56. var stall_ms: Long

    Definition Classes
    StallCheckSupport
  57. var stall_start: Long

    Definition Classes
    StallCheckSupport
  58. var started_at: Long

  59. def suspend: Unit

  60. var suspend_count: Int

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

    Definition Classes
    AnyRef
  62. def tail_parked: Boolean

  63. def toString(): String

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

  65. var total_ack_size: Long

  66. var total_nack_count: Long

  67. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from StallCheckSupport

Inherited from Dispatched

Inherited from DeliveryProducer

Inherited from Acquirer

Inherited from AnyRef

Inherited from Any

Ungrouped