org.apache.activemq.apollo.broker.QueueEntry

Swapped

class Swapped extends EntryState

Loaded entries are moved into the Swapped state reduce memory usage. Once a Loaded entry is persisted, it can move into this state. This state only holds onto the the massage key so that it can reload the message from the store quickly when needed.

Linear Supertypes
EntryState, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Swapped
  2. EntryState
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Swapped(message_key: Long, message_locator: AtomicReference[AnyRef], size: Int, expiration: Long, _redeliveries: Short, acquirer: Acquirer, sender: List[DestinationAddress])

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. var _redeliveries: Short

  7. var acquirer: Acquirer

  8. def acquiring_subscription: Acquirer

    Definition Classes
    SwappedEntryState
  9. def advance(advancing: Seq[Subscription]): Unit

    Advances the specified subscriptions to the next entry in the linked list

    Advances the specified subscriptions to the next entry in the linked list

    Definition Classes
    EntryState
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def as_head: Head

    Definition Classes
    EntryState
  12. def as_loaded: Loaded

    Definition Classes
    EntryState
  13. def as_swapped: Swapped

    Definition Classes
    SwappedEntryState
  14. def as_swapped_range: SwappedRange

    Definition Classes
    EntryState
  15. def as_tail: Tail

    Definition Classes
    EntryState
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def count: Int

    Gets number of messages that this entry represents

    Gets number of messages that this entry represents

    Definition Classes
    SwappedEntryState
  18. def dispatch(): Boolean

    Attempts to dispatch the current entry to the subscriptions position at the entry.

    Attempts to dispatch the current entry to the subscriptions position at the entry.

    returns

    true if at least one subscription advanced to the next entry as a result of dispatching.

    Definition Classes
    SwappedEntryState
  19. final def entry: QueueEntry

    Definition Classes
    EntryState
  20. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  22. val expiration: Long

    When the entry expires or 0 if it does not expire.

    When the entry expires or 0 if it does not expire.

    Definition Classes
    SwappedEntryState
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. def fire_swapped_in_watchers: Unit

  25. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def is_acquired: Boolean

    Is the entry acquired by a subscription.

    Is the entry acquired by a subscription.

    Definition Classes
    EntryState
  29. def is_swapped_or_swapping_out: Boolean

    Definition Classes
    SwappedEntryState
  30. def label: String

    Retuns a string label used to describe this state.

    Retuns a string label used to describe this state.

    Definition Classes
    SwappedEntryState
  31. def loading: Boolean

  32. def memory_space: MemorySpace

    Definition Classes
    SwappedEntryState
  33. val message_key: Long

    Gets the message key for the entry.

    Gets the message key for the entry.

    Definition Classes
    SwappedEntryState
  34. val message_locator: AtomicReference[AnyRef]

    Definition Classes
    SwappedEntryState
  35. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  38. def redelivered: Unit

    Called to increment the redelivery counter

    Called to increment the redelivery counter

    Definition Classes
    SwappedEntryState
  39. def redelivery_count: Short

    When the entry expires or 0 if it does not expire.

    When the entry expires or 0 if it does not expire.

    Definition Classes
    SwappedEntryState
  40. def remove: Unit

    Removes the entry from the queue's linked list of entries.

    Removes the entry from the queue's linked list of entries. This gets called as a result of an acquired ack.

    Definition Classes
    SwappedEntryState
  41. val sender: List[DestinationAddress]

    Definition Classes
    SwappedEntryState
  42. val size: Int

    Gets the size of this entry in bytes.

    Gets the size of this entry in bytes. The head and tail entries always return 0.

    Definition Classes
    SwappedEntryState
  43. var space: MemorySpace

  44. def swap_in(mem_space: MemorySpace): Unit

    Triggers the entry to get swapped in if it's not already swapped in.

    Triggers the entry to get swapped in if it's not already swapped in.

    Definition Classes
    SwappedEntryState
  45. def swap_out(asap: Boolean): Unit

    Triggers the entry to get swapped out if it's not already swapped.

    Triggers the entry to get swapped out if it's not already swapped.

    Definition Classes
    EntryState
  46. def swap_range: Unit

    Definition Classes
    SwappedEntryState
  47. def swapped_in(messageRecord: MessageRecord): Unit

  48. var swapped_in_watchers: List[() ⇒ Unit]

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

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    Swapped → AnyRef → Any
  51. def to_delivery: Delivery

  52. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from EntryState

Inherited from AnyRef

Inherited from Any

Ungrouped