Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Background (0.18 sec)

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

        stoppingThread.join(1000);
        assertFalse("stopAsync has deadlocked!.", stoppingThread.isAlive());
        failLeave.countDown(); // release the background thread
      }
    
      /**
       * Catches a bug where when constructing a service manager failed, later interactions with the
       * service could cause IllegalStateExceptions inside the partially constructed ServiceManager.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

       *     directly, or use a combination of {@link #throwIfUnchecked} and {@code throw new
       *     RuntimeException(e)}. But consider whether users would be better off if your API threw a
       *     different type of exception. For background on the deprecation, read <a
       *     href="https://goo.gl/Ivn2kc">Why we deprecated {@code Throwables.propagate}</a>.
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible
      @Deprecated
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

       *     directly, or use a combination of {@link #throwIfUnchecked} and {@code throw new
       *     RuntimeException(e)}. But consider whether users would be better off if your API threw a
       *     different type of exception. For background on the deprecation, read <a
       *     href="https://goo.gl/Ivn2kc">Why we deprecated {@code Throwables.propagate}</a>.
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible
      @Deprecated
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        stoppingThread.join(1000);
        assertFalse("stopAsync has deadlocked!.", stoppingThread.isAlive());
        failLeave.countDown(); // release the background thread
      }
    
      /**
       * Catches a bug where when constructing a service manager failed, later interactions with the
       * service could cause IllegalStateExceptions inside the partially constructed ServiceManager.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        startFinalizer = getStartFinalizer(finalizer);
      }
    
      /** The actual reference queue that our background thread will poll. */
      final ReferenceQueue<Object> queue;
    
      final PhantomReference<Object> frqRef;
    
      /** Whether or not the background thread started successfully. */
      final boolean threadStarted;
    
      /** Constructs a new queue. */
      public FinalizableReferenceQueue() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

        startFinalizer = getStartFinalizer(finalizer);
      }
    
      /** The actual reference queue that our background thread will poll. */
      final ReferenceQueue<Object> queue;
    
      final PhantomReference<Object> frqRef;
    
      /** Whether or not the background thread started successfully. */
      final boolean threadStarted;
    
      /** Constructs a new queue. */
      public FinalizableReferenceQueue() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  public Boolean call() {
                    return blockingCallable.isRunning();
                  }
                },
                directExecutor());
    
        // Wait for the first task to be started in the background. It will block until we explicitly
        // stop it.
        blockingCallable.waitForStart();
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  public Boolean call() {
                    return blockingCallable.isRunning();
                  }
                },
                directExecutor());
    
        // Wait for the first task to be started in the background. It will block until we explicitly
        // stop it.
        blockingCallable.waitForStart();
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
Back to top