Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for maxAge (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top