Skip to content

Commit 68a98a7

Browse files
committed
Bug 37315347 - [37264961->25.03] CQC constructor with fCacheValues of false should configure lite mapListener (main->ce-main)
Remote remote.full on coherence-ce/main success, changes 112611, synced @112611, job.9.20241127020504.6039 [git-p4: depot-paths = "//dev/coherence-ce/main/": change = 112617]
1 parent dec7a6b commit 68a98a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prj/coherence-core/src/main/java/com/tangosol/net/cache/ContinuousQueryCache.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ public ContinuousQueryCache(Supplier<NamedCache<K, V_BACK>> supplierCache, Filte
373373
m_fReadOnly = transformer != null;
374374
m_nState = STATE_DISCONNECTED;
375375

376-
// initialize Observable listeners based on cached values
377-
m_fListeners = fCacheValues;
376+
// initialize Observable listener on whether a standard (non-lite) listener passed at construction time
377+
m_fListeners = listener != null && fCacheValues;
378378
if (listener instanceof MapTriggerListener)
379379
{
380380
throw new IllegalArgumentException("ContinuousQueryCache does not support MapTriggerListeners");

0 commit comments

Comments
 (0)