org.wildfly.swarm.config.messaging.activemq.server

## Class RuntimeQueue<T extends RuntimeQueue<T>>

- java.lang.Object
- - java.util.AbstractMap<K,V>
  - - java.util.HashMap
    - - org.wildfly.swarm.config.messaging.activemq.server.RuntimeQueue<T>

- All Implemented Interfaces:
    Serializable, Cloneable, Map

      public class RuntimeQueue<T extends RuntimeQueue<T>>
      extends HashMap

  A Queue.
  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class java.util.AbstractMap

      `AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>`

    - ### Nested classes/interfaces inherited from interface java.util.Map

      `Map.Entry<K,V>`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RuntimeQueue(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `Integer` | `consumerCount()` The number of consumers consuming messages from this queue.
    `T` | `consumerCount(Integer value)` The number of consumers consuming messages from this queue.
    `String` | `deadLetterAddress()` The address to send the queue's dead messages to.
    `T` | `deadLetterAddress(String value)` The address to send the queue's dead messages to.
    `Integer` | `deliveringCount()` The number of messages that this queue is currently delivering to its consumers.
    `T` | `deliveringCount(Integer value)` The number of messages that this queue is currently delivering to its consumers.
    `Boolean` | `durable()` Defines whether the queue is durable.
    `T` | `durable(Boolean value)` Defines whether the queue is durable.
    `String` | `expiryAddress()` The address to send the queue's expired messages to.
    `T` | `expiryAddress(String value)` The address to send the queue's expired messages to.
    `String` | `filter()` A queue message filter definition.
    `T` | `filter(String value)` A queue message filter definition.
    `String` | `getKey()`
    `Long` | `id()` The id of the queue.
    `T` | `id(Long value)` The id of the queue.
    `Long` | `messageCount()` The number of messages currently in this queue.
    `T` | `messageCount(Long value)` The number of messages currently in this queue.
    `Long` | `messagesAdded()` The number of messages added to this queue since it was created.
    `T` | `messagesAdded(Long value)` The number of messages added to this queue since it was created.
    `Boolean` | `paused()` Whether the queue is paused.
    `T` | `paused(Boolean value)` Whether the queue is paused.
    `String` | `queueAddress()` The queue address defines what address is used for routing messages.
    `T` | `queueAddress(String value)` The queue address defines what address is used for routing messages.
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener
    `Long` | `scheduledCount()` The number of scheduled messages in this queue.
    `T` | `scheduledCount(Long value)` The number of scheduled messages in this queue.
    `Boolean` | `temporary()` Whether the queue is temporary.
    `T` | `temporary(Boolean value)` Whether the queue is temporary.

    - ### Methods inherited from class java.util.HashMap

      `clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values`

    - ### Methods inherited from class java.util.AbstractMap

      `equals, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.util.Map

      `equals, hashCode`

- - ### Constructor Detail

    - #### RuntimeQueue

          public RuntimeQueue(String key)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### consumerCount

          public Integer consumerCount()

      The number of consumers consuming messages from this queue.

    - #### consumerCount

          public T consumerCount(Integer value)

      The number of consumers consuming messages from this queue.

    - #### deadLetterAddress

          public String deadLetterAddress()

      The address to send the queue's dead messages to.

    - #### deadLetterAddress

          public T deadLetterAddress(String value)

      The address to send the queue's dead messages to.

    - #### deliveringCount

          public Integer deliveringCount()

      The number of messages that this queue is currently delivering to its consumers.

    - #### deliveringCount

          public T deliveringCount(Integer value)

      The number of messages that this queue is currently delivering to its consumers.

    - #### durable

          public Boolean durable()

      Defines whether the queue is durable.

    - #### durable

          public T durable(Boolean value)

      Defines whether the queue is durable.

    - #### expiryAddress

          public String expiryAddress()

      The address to send the queue's expired messages to.

    - #### expiryAddress

          public T expiryAddress(String value)

      The address to send the queue's expired messages to.

    - #### filter

          public String filter()

      A queue message filter definition. An undefined or empty filter will match all messages.

    - #### filter

          public T filter(String value)

      A queue message filter definition. An undefined or empty filter will match all messages.

    - #### id

          public Long id()

      The id of the queue.

    - #### id

          public T id(Long value)

      The id of the queue.

    - #### messageCount

          public Long messageCount()

      The number of messages currently in this queue.

    - #### messageCount

          public T messageCount(Long value)

      The number of messages currently in this queue.

    - #### messagesAdded

          public Long messagesAdded()

      The number of messages added to this queue since it was created.

    - #### messagesAdded

          public T messagesAdded(Long value)

      The number of messages added to this queue since it was created.

    - #### paused

          public Boolean paused()

      Whether the queue is paused.

    - #### paused

          public T paused(Boolean value)

      Whether the queue is paused.

    - #### queueAddress

          public String queueAddress()

      The queue address defines what address is used for routing messages.

    - #### queueAddress

          public T queueAddress(String value)

      The queue address defines what address is used for routing messages.

    - #### scheduledCount

          public Long scheduledCount()

      The number of scheduled messages in this queue.

    - #### scheduledCount

          public T scheduledCount(Long value)

      The number of scheduled messages in this queue.

    - #### temporary

          public Boolean temporary()

      Whether the queue is temporary.

    - #### temporary

          public T temporary(Boolean value)

      Whether the queue is temporary.

Copyright © 2017 JBoss by Red Hat. All rights reserved.