Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Desmond (0.15 sec)

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

         * that once the Thread returns to the Executor that this Executor composes, the interruption
         * will still be present. If the composed Executor is an ExecutorService, it can respond to
         * shutdown() by returning tasks queued on that Thread after {@link #worker} drains the queue.
         */
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        private void workOnQueue() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          if (!service.awaitTermination(halfTimeoutNanos, TimeUnit.NANOSECONDS)) {
            // Cancel currently executing tasks
            service.shutdownNow();
            // Wait the other half of the timeout for tasks to respond to being cancelled
            service.awaitTermination(halfTimeoutNanos, TimeUnit.NANOSECONDS);
          }
        } catch (InterruptedException ie) {
          // Preserve interrupt status
    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)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     *       }
     *     });
     *     manager.startAsync();  // start all the services asynchronously
     *   }
     * }
     * }</pre>
     *
     * <p>This class uses the ServiceManager's methods to start all of its services, to respond to
     * service failure and to ensure that when the JVM is shutting down all the services are stopped.
     *
     * @author Luke Sandberg
     * @since 14.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * to stop requests. You could poll for lifecycle changes in a work loop:
       *
       * <pre>
       *   public void run() {
       *     while ({@link #isRunning()}) {
       *       // perform a unit of work
       *     }
       *   }
       * </pre>
       *
       * <p>...or you could respond to stop requests by implementing {@link #triggerShutdown()}, which
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top