Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for application (0.21 sec)

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

      }
    
      /**
       * A {@code CycleDetectingLockFactory.WithExplicitOrdering} provides the additional enforcement of
       * an application-specified ordering of lock acquisitions. The application defines the allowed
       * ordering with an {@code Enum} whose values each correspond to a lock type. The order in which
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  2. CONTRIBUTING.md

    for it.
    
    If the feature has merit, it will go through a thorough process of API design
    and review. Any code should come after this.
    
    [APIs]: https://en.wikipedia.org/wiki/Application_programming_interface
    [issue]: https://github.com/google/guava/issues
    
    Pull requests
    -------------
    
    Unless the change is a trivial fix such as for a typo, it's generally best to
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K 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. 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)
  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. android/guava/src/com/google/common/net/InternetDomainName.java

       * registry suffixes, since domain name registries collectively control all internet domain names.
       *
       * <p>For considerations on whether the public suffix or registry suffix designation is more
       * suitable for your application, see <a
       * href="https://github.com/google/guava/wiki/InternetDomainNameExplained">this article</a>.
       *
       * @return {@code true} if this domain name appears exactly on the public suffix list
       * @since 6.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. 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)
  8. android/guava/src/com/google/common/net/MediaType.java

       */
      public static final MediaType WASM_APPLICATION = createConstant(APPLICATION_TYPE, "wasm");
    
      /**
       * NaCl applications. For more information see <a
       * href="https://developer.chrome.com/native-client/devguide/coding/application-structure">the
       * Developer Guide for Native Client Application Structure</a>.
       *
       * @since 20.0
       */
      public static final MediaType NACL_APPLICATION = createConstant(APPLICATION_TYPE, "x-nacl");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Utf8.java

     * Specification, Chapter 3</a>.
     *
     * <p>The variant of UTF-8 implemented by this class is the restricted definition of UTF-8
     * introduced in Unicode 3.1. One implication of this is that it rejects <a
     * href="http://www.unicode.org/versions/corrigendum1.html">"non-shortest form"</a> byte sequences,
     * even though the JDK decoder may accept them.
     *
     * @author Martin Buchholz
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  10. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
Back to top