Searched refs:hasListeners (Results 1 – 6 of 6) sorted by relevance
114 private final AtomicBoolean hasListeners = new AtomicBoolean(false); field in JdkFutureAdapters.ListenableFutureAdapter139 if (hasListeners.compareAndSet(false, true)) { in addListener()
496 assertFalse(sup.hasListeners("myProp")); in testHasListener_AllRegistered()498 assertTrue(sup.hasListeners("myProp")); in testHasListener_AllRegistered()500 assertFalse(sup.hasListeners("myProp")); in testHasListener_AllRegistered()502 assertTrue(sup.hasListeners("myProp")); in testHasListener_AllRegistered()517 assertFalse(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()519 assertFalse(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()521 assertTrue(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()523 assertFalse(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()526 assertTrue(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()535 assertFalse(sup.hasListeners("myProp")); in testHasListener_None()[all …]
57 public boolean hasListeners() { in hasListeners() method in ProvisionListenerStackCallback
74 return callback.hasListeners() ? callback : null; in get()
90 if (provisionCallback != null && provisionCallback.hasListeners()) { in injectAndNotify()