Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for server (0.15 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        state = State.CANCELLED;
        notifyAndClearListeners();
    
        if (delegate != null) {
          // TODO(lukes): consider adding the StackOverflowError protection from the server version
          delegate.cancel(mayInterruptIfRunning);
        }
    
        return true;
      }
    
      protected void interruptTask() {}
    
      @Override
      public boolean isCancelled() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

       * 4380</a>.
       *
       * @since 5.0
       */
      public static final class TeredoInfo {
        private final Inet4Address server;
        private final Inet4Address client;
        private final int port;
        private final int flags;
    
        /**
         * Constructs a TeredoInfo instance.
         *
         * <p>Both server and client can be {@code null}, in which case the value {@code "0.0.0.0"} will
         * be assumed.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * acquire(3) arrives. We serve this request out of storedPermits, and reduce that to 7.0 (how
       * this is translated to throttling time is discussed later). Immediately after, assume that an
       * acquire(10) request arriving. We serve the request partly from storedPermits, using all the
       * remaining 7.0 permits, and the remaining 3.0, we serve them by fresh permits produced by the
       * rate limiter.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * as when it was first created.
       *
       * <p>The returned {@code RateLimiter} is intended for cases where the resource that actually
       * fulfills the requests (e.g., a remote server) needs "warmup" time, rather than being
       * immediately accessed at the stable (maximum) rate.
       *
       * <p>The returned {@code RateLimiter} starts in a "cold" state (i.e. the warmup period will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertTrue(InetAddresses.isTeredoAddress((Inet6Address) ip));
        InetAddresses.TeredoInfo teredo = InetAddresses.getTeredoInfo((Inet6Address) ip);
    
        InetAddress server = InetAddresses.forString(serverStr);
        assertEquals(server, teredo.getServer());
    
        InetAddress client = InetAddresses.forString(clientStr);
        assertEquals(client, teredo.getClient());
    
        assertEquals(port, teredo.getPort());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertTrue(InetAddresses.isTeredoAddress((Inet6Address) ip));
        InetAddresses.TeredoInfo teredo = InetAddresses.getTeredoInfo((Inet6Address) ip);
    
        InetAddress server = InetAddresses.forString(serverStr);
        assertEquals(server, teredo.getServer());
    
        InetAddress client = InetAddresses.forString(clientStr);
        assertEquals(client, teredo.getClient());
    
        assertEquals(port, teredo.getPort());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedBytes.java

           * fastest (more than twice as fast as the Java implementation, vs ~1.5x with non-final static
           * fields, on x86_32) under the Hotspot server compiler. The reason is obviously that the
           * non-final fields need to be reloaded inside the loop.
           *
           * And, no, defining (final or not) local variables out of the loop still isn't as good
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     * when appropriate and {@link #awaitHealthy} will still work as expected.
     *
     * <p>Here is a simple example of how to use a {@code ServiceManager} to start a server.
     *
     * <pre>{@code
     * class Server {
     *   public static void main(String[] args) {
     *     Set<Service> services = ...;
     *     ServiceManager manager = new ServiceManager(services);
     *     manager.addListener(new Listener() {
    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)
  9. android/guava/src/com/google/common/hash/Hashing.java

       *       {@code consistentHash} will handle it. If, however, you are dividing traffic among
       *       servers {@code alpha}, {@code bravo}, and {@code charlie} and you occasionally need to
       *       take each of the servers offline, {@code consistentHash} will be a poor fit: It provides
       *       no way for you to specify which of the three buckets is disappearing. Thus, if your
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "www",
              "abc.a23",
              "biz.com.ua",
              "x",
              "fOo",
              "f--o",
              "f_a",
              "foo.net.us\uFF61ocm",
              "woo.com.",
              "8server.shop",
              "123.cn",
              "a" + DELTA + "b.com",
              ALMOST_TOO_MANY_LEVELS,
              ALMOST_TOO_LONG);
    
      private static final ImmutableSet<String> INVALID_NAME =
          ImmutableSet.of(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
Back to top