use of com.hazelcast.client.impl.querycache.subscriber.ClientQueryCacheEndToEndConstructor in project hazelcast by hazelcast.
the class ClientMapProxy method createQueryCache.
private QueryCache createQueryCache(QueryCacheRequest request) {
ConstructorFunction<String, InternalQueryCache> constructorFunction = new ClientQueryCacheEndToEndConstructor(request);
SubscriberContext subscriberContext = getQueryContext().getSubscriberContext();
QueryCacheEndToEndProvider queryCacheEndToEndProvider = subscriberContext.getEndToEndQueryCacheProvider();
return queryCacheEndToEndProvider.getOrCreateQueryCache(request.getMapName(), request.getUserGivenCacheName(), constructorFunction);
}
Aggregations