Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RecordingRunnable (0.38 sec)

  1. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        ListenableFuture<String> listenable = listenInPoolThread(input);
        /*
         * This will occur before the waiting get() in the
         * listenInPoolThread-spawned thread completes:
         */
        RecordingRunnable earlyListener = new RecordingRunnable();
        listenable.addListener(earlyListener, directExecutor());
    
        input.allowGetToComplete.countDown();
        // Now give the get() thread time to finish:
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        ListenableFuture<String> listenable = listenInPoolThread(input);
        /*
         * This will occur before the waiting get() in the
         * listenInPoolThread-spawned thread completes:
         */
        RecordingRunnable earlyListener = new RecordingRunnable();
        listenable.addListener(earlyListener, directExecutor());
    
        input.allowGetToComplete.countDown();
        // Now give the get() thread time to finish:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
Back to top