Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Deferred (1.32 sec)

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

       * called multiple times.
       *
       * <p>If {@link #stopAsync} is called on a {@link State#STARTING} service, this method is not
       * invoked immediately. Instead, it will be deferred until after the service is {@link
       * State#RUNNING}. Services that need to cancel startup work can override {@link #doCancelStart}.
       */
      @ForOverride
      protected abstract void doStop();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

              put(closeable, executor);
              return;
            }
          }
          closeQuietly(closeable, executor);
        }
    
        /**
         * Returns a latch that reaches zero when this objects' deferred closeables have been closed.
         */
        CountDownLatch whenClosedCountDown() {
          if (closed) {
            return new CountDownLatch(0);
          }
          synchronized (this) {
            if (closed) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Platform.java

    @ElementTypesAreNonnullByDefault
    final class Platform {
      /** Returns the platform preferred implementation of a map based on a hash table. */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return CompactHashMap.createWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

      // execution significantly)
    
      /**
       * This classloader disallows {@link sun.misc.Unsafe}, which will prevent us from selecting our
       * preferred strategy {@code UnsafeAtomicHelper}.
       */
      private static final ClassLoader NO_UNSAFE =
          getClassLoader(ImmutableSet.of(sun.misc.Unsafe.class.getName()));
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

       * write operations. Expired entries are cleaned up as part of the routine maintenance described
       * in the class javadoc.
       *
       * <p>If you can represent the duration as a {@link java.time.Duration} (which should be preferred
       * when feasible), use {@link #expireAfterWrite(Duration)} instead.
       *
       * @param duration the length of time after an entry is created that it should be automatically
       *     removed
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

       * the path {@code a/../b}, which {@code simplifyPath} will change to {@code b}. If {@code a} is a
       * symlink to {@code x}, {@code a/../b} may refer to a sibling of {@code x}, rather than the
       * sibling of {@code a} referred to by {@code b}.
       *
       * @since 11.0
       */
      public static String simplifyPath(String pathname) {
        checkNotNull(pathname);
        if (pathname.length() == 0) {
          return ".";
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Ascii.java

      /**
       * Start of Heading: A communication control character used at the beginning of a sequence of
       * characters which constitute a machine-sensible address or routing information. Such a sequence
       * is referred to as the "heading." An STX character has the effect of terminating a heading.
       *
       * @since 8.0
       */
      public static final byte SOH = 1;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      // http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html
      //  - Some providers may choose to also include alias names.
      //  - For example, the "SHA-1" algorithm might be referred to as "SHA1".
      //  - The algorithm name is not case-sensitive.
      private static final ImmutableMap<String, HashFunction> ALGORITHMS =
          new ImmutableMap.Builder<String, HashFunction>()
              .put("MD5", Hashing.md5())
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSet.java

      static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
        return CollectCollectors.toImmutableSet();
      }
    
      /**
       * Returns the empty immutable set. Preferred over {@link Collections#emptySet} for code
       * consistency, and because the return type conveys the immutability guarantee.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://www.w3.org/TR/referrer-policy/">{@code Referrer-Policy}</a> header
       * field name.
       *
       * @since 23.4
       */
      public static final String REFERRER_POLICY = "Referrer-Policy";
    
      /**
       * Values for the <a href="https://www.w3.org/TR/referrer-policy/">{@code Referrer-Policy}</a>
       * header.
       *
       * @since 23.4
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
Back to top