- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 213 for AddListener (0.36 sec)
-
subprojects/core/src/main/java/org/gradle/deployment/internal/PendingChangesManager.java
public PendingChangesManager(ListenerManager listenerManager) { this.listenerManager = listenerManager; } public void addListener(PendingChangesListener listener) { listenerManager.addListener(listener); } public void removeListener(PendingChangesListener listener) { listenerManager.removeListener(listener); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 23 14:30:14 UTC 2022 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/static_content.go
name: name, caBundle: caBundleAndVerifier, }, nil } // Name is just an identifier func (c *staticCAContent) Name() string { return c.name } func (c *staticCAContent) AddListener(Listener) {} // CurrentCABundleContent provides ca bundle byte content func (c *staticCAContent) CurrentCABundleContent() (cabundle []byte) { return c.caBundle.caBundle }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 18:29:15 UTC 2021 - 3K bytes - Viewed (0) -
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.9K bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* </ul> * * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will * rarely use it directly, in part because it does not provide direct access to the {@code Future} * result. (If you want such access, you may prefer {@link Futures#addCallback * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful: * * <pre>{@code * final String name = ...;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* </ul> * * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will * rarely use it directly, in part because it does not provide direct access to the {@code Future} * result. (If you want such access, you may prefer {@link Futures#addCallback * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful: * * <pre>{@code * final String name = ...;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemoryManager.java
import org.gradle.internal.service.scopes.Scope; import org.gradle.internal.service.scopes.ServiceScope; @ServiceScope(Scope.Global.class) public interface MemoryManager { void addListener(JvmMemoryStatusListener listener); void addListener(OsMemoryStatusListener listener); void removeListener(JvmMemoryStatusListener listener); void removeListener(OsMemoryStatusListener listener); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
private final ListenableFuture<V> delegate; ForwardingFluentFuture(ListenableFuture<V> delegate) { this.delegate = checkNotNull(delegate); } @Override public void addListener(Runnable listener, Executor executor) { delegate.addListener(listener, executor); } @Override public boolean cancel(boolean mayInterruptIfRunning) { return delegate.cancel(mayInterruptIfRunning); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 05 22:27:35 UTC 2021 - 2.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/invocation/DefaultGradle.java
buildListenerBroadcast.add("buildFinished", action); } @Override public void addListener(Object listener) { addListener("Gradle.addListener", listener); } @Override public void removeListener(Object listener) { // do same decoration as in addListener to remove correctly getListenerManager().removeListener(decorateUnknownListener(null, listener)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 23.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
private final ListenableFuture<V> delegate; ForwardingFluentFuture(ListenableFuture<V> delegate) { this.delegate = checkNotNull(delegate); } @Override public void addListener(Runnable listener, Executor executor) { delegate.addListener(listener, executor); } @Override public boolean cancel(boolean mayInterruptIfRunning) { return delegate.cancel(mayInterruptIfRunning); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 05 22:27:35 UTC 2021 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* </ul> * * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will * rarely use it directly, in part because it does not provide direct access to the {@code Future} * result. (If you want such access, you may prefer {@link Futures#addCallback * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful: * * <pre>{@code * final String name = ...;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0)