Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for maxAge (0.16 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          RunnableExecutorPair(Runnable runnable, Executor executor) {
            this.runnable = runnable;
            this.executor = executor;
          }
        }
      }
    
      // A version of the list that uses compare and swap to manage the stack without locks.
      private static final class ExecutionListCAS {
        static final Logger log = Logger.getLogger(ExecutionListCAS.class.getName());
    
        private static final sun.misc.Unsafe UNSAFE;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Monitor.java

        return (timeoutNanos <= 0L) ? 0L : timeoutNanos - (System.nanoTime() - startTime);
      }
    
      /**
       * Signals some other thread waiting on a satisfied guard, if one exists.
       *
       * <p>We manage calls to this method carefully, to signal only when necessary, but never losing a
       * signal, which is the classic problem of this kind of concurrency construct. We must signal if
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    be able!  I shall be a great deal too far off to trouble myself
    about you:  you must manage the best way you can; --but I must be
    kind to them,' thought Alice, `or perhaps they won't walk the
    way I want to go!  Let me see:  I'll give them a new pair of
    boots every Christmas.'
    
      And she went on planning to herself how she would manage it.
    `They must go by the carrier,' she thought; `and how funny it'll
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

    import java.util.concurrent.Executor;
    import java.util.logging.Level;
    import javax.annotation.CheckForNull;
    
    /**
     * A support class for {@code ListenableFuture} implementations to manage their listeners. An
     * instance contains a list of listeners, each with an associated {@code Executor}, and guarantees
     * that every {@code Runnable} that is {@linkplain #add added} will be executed after {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

             * invoke interruptTask on any subsequent futures.
             */
            callInterruptTask = false;
          }
          // We call this before the listeners in order to avoid needing to manage a separate stack data
          // structure for them.  Also, some implementations rely on this running prior to listeners
          // so that the cleanup work is visible to listeners.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractService.java

    /**
     * Base class for implementing services that can handle {@link #doStart} and {@link #doStop}
     * requests, responding to them with {@link #notifyStarted()} and {@link #notifyStopped()}
     * callbacks. Its subclasses must manage threads manually; consider {@link
     * AbstractExecutionThreadService} if you need only a single execution thread.
     *
     * @author Jesse Wilson
     * @author Luke Sandberg
     * @since 1.0
     */
    @GwtIncompatible
    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)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

      private final ServiceManagerState state;
    
      private final ImmutableList<Service> services;
    
      /**
       * Constructs a new instance for managing the given services.
       *
       * @param services The services to manage
       * @throws IllegalArgumentException if not all services are {@linkplain State#NEW new} or if there
       *     are any duplicate services.
       */
      public ServiceManager(Iterable<? extends Service> services) {
    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)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    be able!  I shall be a great deal too far off to trouble myself
    about you:  you must manage the best way you can; --but I must be
    kind to them,' thought Alice, `or perhaps they won't walk the
    way I want to go!  Let me see:  I'll give them a new pair of
    boots every Christmas.'
    
      And she went on planning to herself how she would manage it.
    `They must go by the carrier,' she thought; `and how funny it'll
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

    /**
     * Base class for services that can implement {@link #startUp}, {@link #run} and {@link #shutDown}
     * methods. This class uses a single thread to execute the service; consider {@link AbstractService}
     * if you would like to manage any threading manually.
     *
     * @author Jesse Wilson
     * @since 1.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractExecutionThreadService implements Service {
    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)
  10. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          RunnableExecutorPair(Runnable runnable, Executor executor) {
            this.runnable = runnable;
            this.executor = executor;
          }
        }
      }
    
      // A version of the list that uses compare and swap to manage the stack without locks.
      private static final class ExecutionListCAS {
        static final Logger log = Logger.getLogger(ExecutionListCAS.class.getName());
    
        private static final sun.misc.Unsafe UNSAFE;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
Back to top