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. Hide All
  2. Show all
  1. Swapped
  2. EntryState
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Swapped (message_key: Long, size: Int)

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 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
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def as_head : Head

    Definition Classes
    EntryState
  9. def as_loaded : Loaded

    Definition Classes
    EntryState
  10. def as_swapped : Swapped

    Definition Classes
    SwappedEntryState
  11. def as_swapped_range : SwappedRange

    Definition Classes
    EntryState
  12. def as_tail : Tail

    Definition Classes
    EntryState
  13. def clone (): AnyRef

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

    Gets number of messages that this entry represents

    Gets number of messages that this entry represents

    Definition Classes
    SwappedEntryState
  15. 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.

    Definition Classes
    EntryState
  16. def entry : QueueEntry

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

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

    Definition Classes
    AnyRef → Any
  19. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  21. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  23. def is_swapped_or_swapping_out : Boolean

    Definition Classes
    SwappedEntryState
  24. def label : String

    Retuns a string label used to describe this state.

    Retuns a string label used to describe this state.

    Definition Classes
    SwappedEntryState
  25. val message_key : Long

    Gets the message key for the entry.

    Gets the message key for the entry.

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  29. 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 aquired ack.

    Definition Classes
    SwappedEntryState
  30. 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
  31. def swap_in (): 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
  32. 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
  33. def swap_range : Unit

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

  35. var swapping_in : Boolean

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

    Attributes
    final
    Definition Classes
    AnyRef
  37. def toString (): String

    Definition Classes
    Swapped → AnyRef → Any
  38. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from EntryState

Inherited from AnyRef

Inherited from Any