Interface ReferenceCounter

All Known Subinterfaces:
QueueManager, TransientQueueManager
All Known Implementing Classes:
QueueManagerImpl, ReferenceCounterUtil, TransientQueueManagerImpl

public interface ReferenceCounter
  • Method Details

    • increment

      int increment()
    • decrement

      int decrement()
    • getCount

      int getCount()
    • setTask

      void setTask(Runnable task)
    • getTask

      Runnable getTask()
    • check

      void check()
      Some asynchronous operations (like ack) may delay certain conditions. After met, during afterCompletion we may need to recheck certain values to make sure we won't get into a situation where the condition was met asynchronously and queues not removed.