Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Runnable (0.09 sec)

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

        return task;
      }
    
      /**
       * Executes {@code runnable} on the specified {@code executor}, returning a {@code Future} that
       * will complete after execution.
       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static ListenableFuture<@Nullable Void> submit(Runnable runnable, Executor executor) {
        TrustedListenableFutureTask<@Nullable Void> task =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Futures.java

        return task;
      }
    
      /**
       * Executes {@code runnable} on the specified {@code executor}, returning a {@code Future} that
       * will complete after execution.
       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static ListenableFuture<@Nullable Void> submit(Runnable runnable, Executor executor) {
        TrustedListenableFutureTask<@Nullable Void> task =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    	public final fun getIdleCallback ()Ljava/lang/Runnable;
    	public final fun getMaxRequests ()I
    	public final fun getMaxRequestsPerHost ()I
    	public final fun queuedCalls ()Ljava/util/List;
    	public final fun queuedCallsCount ()I
    	public final fun runningCalls ()Ljava/util/List;
    	public final fun runningCallsCount ()I
    	public final fun setIdleCallback (Ljava/lang/Runnable;)V
    	public final fun setMaxRequests (I)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                }
            } catch (final Exception e) {
                logger.warn("Failed to flush config files.", e);
            }
        }
    
        public void flushConfigFiles(final Runnable callback) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            final String fesenType = fessConfig.getFesenType();
            switch (fesenType) {
            case Constants.FESEN_TYPE_CLOUD:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        sink.writeUtf8(bytes)
        sink.close()
        return bytesOut
      }
    
      internal inner class AsyncRequest(
        val path: String,
        val countDownLatch: CountDownLatch,
      ) : Runnable {
        override fun run() {
          try {
            val call =
              client.newCall(
                Request.Builder()
                  .url(server.url(path))
                  .build(),
              )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final CountDownLatch gettersComplete = new CountDownLatch(nThreads);
        for (int i = 0; i < nThreads; i++) {
          final int index = i;
          Thread thread =
              new Thread(
                  new Runnable() {
                    @Override
                    public void run() {
                      gettersStartedSignal.countDown();
                      Object value = null;
                      try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        @Override
        void maybeClearReferenceQueues() {
          clearReferenceQueue(queueForKeys);
        }
      }
    
      static final class CleanupMapTask implements Runnable {
        final WeakReference<MapMakerInternalMap<?, ?, ?, ?>> mapReference;
    
        public CleanupMapTask(MapMakerInternalMap<?, ?, ?, ?> map) {
          this.mapReference = new WeakReference<>(map);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        @Override
        void maybeClearReferenceQueues() {
          clearReferenceQueue(queueForKeys);
        }
      }
    
      static final class CleanupMapTask implements Runnable {
        final WeakReference<MapMakerInternalMap<?, ?, ?, ?>> mapReference;
    
        public CleanupMapTask(MapMakerInternalMap<?, ?, ?, ?> map) {
          this.mapReference = new WeakReference<>(map);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create a file \"as-directory/as-file\", %s", err)
    	}
    	if err = xlStorage.AppendFile(context.Background(), "exists", "as-file/xl.meta", xlMeta); err != nil {
    		t.Fatalf("Unable to create a file \"as-file\", %s", err)
    	}
    	if err = xlStorage.AppendFile(context.Background(), "exists", "as-file-parent/xl.meta", xlMeta); err != nil {
    		t.Fatalf("Unable to create a file \"as-file-parent\", %s", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    	logger.FatalIf(getMetacacheListingRPC.Register(gm, server.GetMetacacheListingHandler), "unable to register handler")
    	logger.FatalIf(getMetricsRPC.Register(gm, server.GetMetricsHandler), "unable to register handler")
    	logger.FatalIf(getNetInfoRPC.Register(gm, server.GetNetInfoHandler), "unable to register handler")
    	logger.FatalIf(getOSInfoRPC.Register(gm, server.GetOSInfoHandler), "unable to register handler")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top