- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 213 for AddListener (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/union_content.go
panic(err) } return ret.verifyOptions, true } // AddListener adds a listener to be notified when the CA content changes. func (c unionCAContent) AddListener(listener Listener) { for _, curr := range c { curr.AddListener(listener) } } // AddListener adds a listener to be notified when the CA content changes. func (c unionCAContent) RunOnce(ctx context.Context) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 07 14:37:01 UTC 2022 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/build-operations/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationListenerManagerTest.groovy
def "notifies start and progress in registration order, finish in reverse registration order"() { given: manager.addListener(recordingListener("1")) manager.addListener(recordingListener("2")) manager.addListener(recordingListener("3")) when: broadcaster.started(op1, startEvent) broadcaster.started(op2, startEvent)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 14:19:43 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestEventsIntegrationTest.groovy
void onOutput(TestDescriptor testDescriptor, TestOutputEvent outputEvent) {} } gradle.addListener($listener) task broken """ when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/scaninfo/DefaultDaemonScanInfoSpec.groovy
when: daemonScanInfo.notifyOnUnhealthy(notifyAction) then: 1 * listenerManager.addListener({ it instanceof DaemonExpirationListener }) >> { DaemonExpirationListener listener -> daemonExpirationListener = listener } 1 * listenerManager.addListener({ it instanceof BuildListener }) >> { BuildListener listener -> buildListener = listener } when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
listenable.addListener(earlyListener, directExecutor()); input.allowGetToComplete.countDown(); // Now give the get() thread time to finish: assertTrue(earlyListener.wasRun.await(1, SECONDS)); // Now test an additional addListener call, which will be run in-thread: RecordingRunnable lateListener = new RecordingRunnable(); listenable.addListener(lateListener, directExecutor());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 9.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/worker/DefaultWorkerProcessSpec.groovy
op.start { op.callbackLater { workerProcess.onConnect(connection) } workerProcess.start() } then: 1 * execHandle.addListener(_) 1 * execHandle.start() 1 * acceptor.requestStop() } def startThrowsExceptionOnConnectTimeoutAndCleansUp() { when: workerProcess.setExecHandle(execHandle)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 07:21:35 UTC 2021 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
final NoOpService service1 = new NoOpService(); // This service will start service1 when addListener is called. This simulates service1 being // started asynchronously. Service service2 = new Service() { final NoOpService delegate = new NoOpService(); @Override public final void addListener(Listener listener, Executor executor) { service1.startAsync();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 02 17:20:27 UTC 2023 - 23.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
* * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an * internal, unbounded pool at the first call to {@code addListener} and holding it until the * future is {@linkplain Future#isDone() done}. * * <p>Prefer to create {@code ListenableFuture} instances with {@link SettableFuture}, {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/DefaultMemoryManager.java
holders.remove(holder); } } @Override public void addListener(JvmMemoryStatusListener listener) { listenerManager.addListener(listener); } @Override public void addListener(OsMemoryStatusListener listener) { listenerManager.addListener(listener); } @Override public void removeListener(JvmMemoryStatusListener listener) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:38 UTC 2024 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
* * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an * internal, unbounded pool at the first call to {@code addListener} and holding it until the * future is {@linkplain Future#isDone() done}. * * <p>Prefer to create {@code ListenableFuture} instances with {@link SettableFuture}, {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 7.5K bytes - Viewed (0)