Interface CountDownLatch

    • Method Detail

      • decrement

        void decrement()
        Count down by 1, signalling waiters if we have reached zero
      • count

        int count()
        Returns:
        the current count
      • newCountDownLatch

        static CountDownLatch newCountDownLatch​(int count)
        Factory method used to capture and redirect instantiations for simulation