Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for cancelling (2.29 sec)

  1. pkg/controller/tainteviction/taint_eviction.go

    	// getMinTolerationTime returns negative value to denote infinite toleration.
    	if minTolerationTime < 0 {
    		logger.V(4).Info("Current tolerations for pod tolerate forever, cancelling any scheduled deletion", "pod", podNamespacedName.String())
    		tc.cancelWorkWithEvent(logger, podNamespacedName)
    		return
    	}
    
    	startTime := now
    	triggerTime := startTime.Add(minTolerationTime)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/MoreExecutors.java

            return Callables.threadRenaming(command, nameSupplier);
          }
        };
      }
    
      /**
       * Shuts down the given executor service gradually, first disabling new submissions and later, if
       * necessary, cancelling remaining tasks.
       *
       * <p>The method takes the following steps:
       *
       * <ol>
       *   <li>calls {@link ExecutorService#shutdown()}, disabling acceptance of new submitted tasks.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

                // block until ready for write operations
                selector.select();
                // cancel OP_WRITE selection
                key.cancel();
                // complete cancelling key
                selector.selectNow();
            }
    
            @Override
            public void close() throws IOException {
                if (selector != null) {
                    selector.close();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java

                    } else {
                        return object;
                    }
                }
            } finally {
                // Stop cancelling before sending end-of-input
                CompositeStoppable.stoppable(cancelForwarder, inputForwarder).stop();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go

    			// soon as the request is processed from the APF point of view.
    			//
    			// Note that we explicitly do NOT call the actuall handler using that context
    			// to avoid cancelling request too early.
    			handleCtx, handleCtxCancel := h.newReqWaitCtxFn(ctx)
    			defer handleCtxCancel()
    
    			// Note that Handle will return irrespective of whether the request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

            return Callables.threadRenaming(command, nameSupplier);
          }
        };
      }
    
      /**
       * Shuts down the given executor service gradually, first disabling new submissions and later, if
       * necessary, cancelling remaining tasks.
       *
       * <p>The method takes the following steps:
       *
       * <ol>
       *   <li>calls {@link ExecutorService#shutdown()}, disabling acceptance of new submitted tasks.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

            int index = i++;
            future.addListener(
                () -> {
                  try {
                    if (future.isCancelled()) {
                      // Clear futures prior to cancelling children. This sets our own state but lets
                      // the input futures keep running, as some of them may be used elsewhere.
                      futures = null;
                      cancel(false);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AggregateFuture.java

            int index = i++;
            future.addListener(
                () -> {
                  try {
                    if (future.isCancelled()) {
                      // Clear futures prior to cancelling children. This sets our own state but lets
                      // the input futures keep running, as some of them may be used elsewhere.
                      futures = null;
                      cancel(false);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. chainable_api.go

    //
    // Offset conditions can be cancelled by using `Offset(-1)`.
    //
    //	// select the third user
    //	db.Offset(2).First(&user)
    //	// select the first user by cancelling an earlier chained offset
    //	db.Offset(5).Offset(-1).First(&user)
    func (db *DB) Offset(offset int) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.AddClause(clause.Limit{Offset: offset})
    	return
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. pkg/controller/tainteviction/taint_eviction_test.go

    					Kind:       "Pod",
    					APIVersion: "v1",
    					Namespace:  "test",
    					Name:       "test",
    				},
    				Reason:  "TaintManagerEviction",
    				Type:    "Normal",
    				Count:   1,
    				Message: "Cancelling deletion of Pod test/test",
    				Source:  corev1.EventSource{Component: "nodeControllerTest"},
    			},
    		}
    		if diff := cmp.Diff(want, recorder.Events, cmp.FilterPath(f, cmp.Ignore())); len(diff) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
Back to top