Package org.apache.activemq.artemis.api.core

## Interface RefCountMessageListener

-     public interface RefCountMessageListener

  These methods will be called during refCount operations

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `durableDown​(Message message, int durableCount)` |
    `void` | `durableUp​(Message message, int durableCount)` |
    `void` | `refDown​(Message message, int nonDurableCoun)` |
    `void` | `refUp​(Message message, int nonDurableCoun)` |
    `default void` | `usageDown​(Message message, int usageCount)` |
    `default void` | `usageUp​(Message message, int usageCount)` |

- - ### Method Detail

    - #### durableUp

          void durableUp​(Message message,
                         int durableCount)

    - #### durableDown

          void durableDown​(Message message,
                           int durableCount)

    - #### refUp

          void refUp​(Message message,
                     int nonDurableCoun)

    - #### refDown

          void refDown​(Message message,
                       int nonDurableCoun)

    - #### usageUp

          default void usageUp​(Message message,
                               int usageCount)

    - #### usageDown

          default void usageDown​(Message message,
                                 int usageCount)