public final class ContinuousQueryImpl<K,V> extends Object implements org.infinispan.query.api.continuous.ContinuousQuery<K,V>
This class is not threadsafe.
Constructor and Description |
---|
ContinuousQueryImpl(RemoteCache<K,V> cache) |
Modifier and Type | Method and Description |
---|---|
<C> void |
addContinuousQueryListener(org.infinispan.query.dsl.Query<?> query,
org.infinispan.query.api.continuous.ContinuousQueryListener<K,C> listener)
Registers a continuous query listener that uses a query DSL based filter.
|
<C> void |
addContinuousQueryListener(String queryString,
org.infinispan.query.api.continuous.ContinuousQueryListener<K,C> listener) |
<C> void |
addContinuousQueryListener(String queryString,
Map<String,Object> namedParameters,
org.infinispan.query.api.continuous.ContinuousQueryListener<K,C> listener) |
List<org.infinispan.query.api.continuous.ContinuousQueryListener<K,?>> |
getListeners() |
void |
removeAllListeners() |
void |
removeContinuousQueryListener(org.infinispan.query.api.continuous.ContinuousQueryListener<K,?> listener) |
public ContinuousQueryImpl(RemoteCache<K,V> cache)
public <C> void addContinuousQueryListener(String queryString, org.infinispan.query.api.continuous.ContinuousQueryListener<K,C> listener)
public <C> void addContinuousQueryListener(String queryString, Map<String,Object> namedParameters, org.infinispan.query.api.continuous.ContinuousQueryListener<K,C> listener)
public <C> void addContinuousQueryListener(org.infinispan.query.dsl.Query<?> query, org.infinispan.query.api.continuous.ContinuousQueryListener<K,C> listener)
public void removeContinuousQueryListener(org.infinispan.query.api.continuous.ContinuousQueryListener<K,?> listener)
public List<org.infinispan.query.api.continuous.ContinuousQueryListener<K,?>> getListeners()
Copyright © 2021 JBoss by Red Hat. All rights reserved.