Class ReferenceCounterUtil

    • Constructor Detail

      • ReferenceCounterUtil

        public ReferenceCounterUtil()
      • ReferenceCounterUtil

        public ReferenceCounterUtil​(java.util.concurrent.Executor executor)
      • ReferenceCounterUtil

        public ReferenceCounterUtil​(java.lang.Runnable runnable,
                                    java.util.concurrent.Executor executor)
      • ReferenceCounterUtil

        public ReferenceCounterUtil​(java.lang.Runnable runnable)
    • Method Detail

      • check

        public void check()
        Description copied from interface: ReferenceCounter
        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.
        Specified by:
        check in interface ReferenceCounter