Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for listenerCount (0.17 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      public void testAllListenersCompleteSuccessfully()
          throws InterruptedException, ExecutionException {
    
        ExecutorService exec = Executors.newCachedThreadPool();
    
        int listenerCount = 20;
        CountDownLatch listenerLatch = new CountDownLatch(listenerCount);
    
        // Test that listeners added both before and after the value is available
        // get called correctly.
        for (int i = 0; i < 20; i++) {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      public void testAllListenersCompleteSuccessfully()
          throws InterruptedException, ExecutionException {
    
        ExecutorService exec = Executors.newCachedThreadPool();
    
        int listenerCount = 20;
        CountDownLatch listenerLatch = new CountDownLatch(listenerCount);
    
        // Test that listeners added both before and after the value is available
        // get called correctly.
        for (int i = 0; i < 20; i++) {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top