Interface Async

    • Method Detail

      • count

        int count()
        Returns:
        the current count
      • countDown

        void countDown()
        Count down the async.
        Throws:
        IllegalStateException - in strict mode if invoked more than the initial count
      • complete

        void complete()
        Signals the asynchronous operation is done, this method must be called with a count greater than 0, otherwise it throws an IllegalStateException to signal the error.