use of com.hazelcast.map.impl.querycache.subscriber.QueryCacheRequest in project hazelcast by hazelcast.
the class ClientMapProxy method getQueryCacheInternal.
private QueryCache getQueryCacheInternal(String name, MapListener listener, Predicate predicate, Boolean includeValue, IMap map) {
QueryCacheContext context = getQueryContext();
QueryCacheRequest request = newQueryCacheRequest().withUserGivenCacheName(name).withCacheName(UuidUtil.newUnsecureUuidString()).withListener(listener).withPredicate(predicate).withIncludeValue(includeValue).forMap(map).withContext(context);
return createQueryCache(request);
}
use of com.hazelcast.map.impl.querycache.subscriber.QueryCacheRequest in project hazelcast by hazelcast.
the class MapProxyImpl method getQueryCacheInternal.
private QueryCache<K, V> getQueryCacheInternal(@Nonnull String name, @Nullable MapListener listener, @Nullable Predicate<K, V> predicate, @Nullable Boolean includeValue, @Nonnull IMap<K, V> map) {
QueryCacheContext queryCacheContext = mapServiceContext.getQueryCacheContext();
QueryCacheRequest request = newQueryCacheRequest().forMap(map).withCacheName(name).withListener(listener).withPredicate(predicate).withIncludeValue(includeValue).withContext(queryCacheContext);
return createQueryCache(request);
}
Aggregations