Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for sleepUninterruptibly (0.07 seconds)

  1. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @IgnoreJRERequirement // Users will use this only if they're already using Duration.
      public static void sleepUninterruptibly(Duration sleepFor) {
        sleepUninterruptibly(toNanosSaturated(sleepFor), TimeUnit.NANOSECONDS);
      }
    
      // TODO(user): Support Sleeper somehow (wrapper or interface method)?
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

            @Override
            public void run() {
              Uninterruptibles.sleepUninterruptibly(delay, MILLISECONDS);
              notifyStarted();
            }
          }.start();
        }
    
        @Override
        protected void doStop() {
          new Thread() {
            @Override
            public void run() {
              Uninterruptibles.sleepUninterruptibly(delay, MILLISECONDS);
              notifyStopped();
            }
          }.start();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 25.5K bytes
    - Click Count (0)
Back to Top