- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for isSubscribed (0.2 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/collections/DefaultCollectionEventRegisterSpec.groovy
r.isSubscribed(StringBuilder) r.registerEagerAddAction(StringBuilder, Stub(Action)) r.isSubscribed(null) r.isSubscribed(String) r.isSubscribed(CharSequence) r.isSubscribed(StringBuilder) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 16 06:16:46 UTC 2021 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/DefaultCollectionEventRegister.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 02 15:16:51 UTC 2023 - 5.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/EventSubscriptionVerifier.java
import javax.annotation.Nullable; /** * Tracks which types are subscribed to by eager event listeners. Lazy elements of a * subscribed type should be immediately realized when added to a container. */ public interface EventSubscriptionVerifier<T> { /** * Determines whether events should be emitted for elements of the given type. */ boolean isSubscribed(@Nullable Class<? extends T> type);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 02 15:16:51 UTC 2023 - 1.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/SortedSetElementSource.java
boolean added = pending.add(collector); // TODO: We likely want to also immediately realize ChangingValue providers in the // onValueChange callback above. if (subscriptionVerifier.isSubscribed(provider.getType())) { realize(Collections.singleton(collector)); // Ugly backwards-compatibility hack. Previous implementations would notify listeners without
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/CollectionEventRegister.java
import org.gradle.internal.ImmutableActionSet; import javax.annotation.Nullable; public interface CollectionEventRegister<T> extends EventSubscriptionVerifier<T> { @Override boolean isSubscribed(@Nullable Class<? extends T> type); /** * Returns a snapshot of the current set of actions to run when an element is added. */ ImmutableActionSet<T> getAddActions();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 02 15:12:15 UTC 2023 - 1.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSource.java
this.subscriptionVerifier = subscriptionVerifier; } protected boolean addPendingElement(Element<T> element) { boolean added = inserted.add(element); if (subscriptionVerifier.isSubscribed(element.getType())) { element.realize(); // Ugly backwards-compatibility hack. Previous implementations would notify listeners without
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 20:04:06 UTC 2024 - 13.6K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberExceptionContext.java
* broadcasting a new event based on the error. * @param event The event object that caused the subscriber to throw. * @param subscriber The source subscriber context. * @param subscriberMethod the subscribed method. */ SubscriberExceptionContext( EventBus eventBus, Object event, Object subscriber, Method subscriberMethod) { this.eventBus = checkNotNull(eventBus); this.event = checkNotNull(event);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 2.2K bytes - Viewed (0) -
pilot/pkg/xds/delta.go
// 1. no subscribed resources change from spontaneous delta request. // 2. subscribed resources changes from ACK. if spontaneousReq && !subChanged || !spontaneousReq && subChanged { deltaLog.Errorf("ADS:%s: Subscribed resources check mismatch: %v vs %v", stype, spontaneousReq, subChanged) if features.EnableUnsafeAssertions {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 25.6K bytes - Viewed (0) -
pilot/pkg/xds/workload.go
var addresses sets.String if isReq { // this is from request, we only send response for the subscribed address // At t0, a client request A, we only send A and additional resources back to the client. // At t1, a client request B, we only send B and additional resources back to the client, no A here. addresses = req.Delta.Subscribed } else { if w.Wildcard { addresses = updatedAddresses } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 14:14:30 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java
* broadcasting a new event based on the error. * @param event The event object that caused the subscriber to throw. * @param subscriber The source subscriber context. * @param subscriberMethod the subscribed method. */ SubscriberExceptionContext( EventBus eventBus, Object event, Object subscriber, Method subscriberMethod) { this.eventBus = checkNotNull(eventBus); this.event = checkNotNull(event);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 2.2K bytes - Viewed (0)