Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for Applications (0.16 sec)

  1. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * thread keeps an indirect strong reference to the queue in ReferenceMap, which keeps the
       * Finalizer running, and as a result, the application class loader can never be reclaimed.
       *
       * This means that dynamically loaded web applications and OSGi bundles can't be unloaded.
       *
    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)
  2. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * thread keeps an indirect strong reference to the queue in ReferenceMap, which keeps the
       * Finalizer running, and as a result, the application class loader can never be reclaimed.
       *
       * This means that dynamically loaded web applications and OSGi bundles can't be unloaded.
       *
    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)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          ExecutorService service, long terminationTimeout, TimeUnit timeUnit) {
        new Application().addDelayedShutdownHook(service, terminationTimeout, timeUnit);
      }
    
      /** Represents the current application to register shutdown hooks. */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      @VisibleForTesting
      static class Application {
    
        final ExecutorService getExitingExecutorService(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        }
        return features;
      }
    
      /**
       * Given a set of features, return a new set of all features directly or indirectly implied by any
       * of them.
       *
       * @param features the set of features whose implications to find
       * @return the implied set of features
       */
      public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> impliedSet = new LinkedHashSet<>();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

      /**
       * Returns an exception handler that exits the system. This is particularly useful for the main
       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
       * <pre>
       * public static void main(String[] args) {
       *   Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit());
       *   ...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        }
        return features;
      }
    
      /**
       * Given a set of features, return a new set of all features directly or indirectly implied by any
       * of them.
       *
       * @param features the set of features whose implications to find
       * @return the implied set of features
       */
      public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> impliedSet = new LinkedHashSet<>();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Striped.java

       * stripes (much like the birthday paradox, where much fewer than anticipated birthdays are needed
       * for a pair of them to match). Please consider carefully the implications of the number of
       * stripes, the intended concurrency level, and the typical number of keys used in a {@code
       * bulkGet(keys)} operation. See <a href="http://www.mathpages.com/home/kmath199.htm">Balls in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      public void testAddDelayedShutdownHook_success() throws InterruptedException {
        TestApplication application = new TestApplication();
        ExecutorService service = mock(ExecutorService.class);
        application.addDelayedShutdownHook(service, 2, TimeUnit.SECONDS);
        verify(service, Mockito.never()).shutdown();
        application.shutdown();
        InOrder shutdownFirst = Mockito.inOrder(service);
        shutdownFirst.verify(service).shutdown();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  9. android/guava/src/com/google/common/base/internal/Finalizer.java

     * loader and prevent it from being garbage collected. This poses a problem for environments where
     * you want to throw away the class loader. For example, dynamically reloading a web application or
     * unloading an OSGi bundle.
     *
     * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class in its own class
     * loader. That way, this class doesn't prevent the main class loader from getting garbage
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * values} is a {@link Collection}. Otherwise it creates a {@link #builder} and uses {@link
       * Builder#addAll(Iterable)}, with all the performance implications associated with that.
       */
      public static ImmutableLongArray copyOf(Iterable<Long> values) {
        if (values instanceof Collection) {
          return copyOf((Collection<Long>) values);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
Back to top