public interface QueryCacheRequest
QueryCache.| Modifier and Type | Method and Description |
|---|---|
QueryCacheRequest |
forMap(IMap map)
Setter for underlying
IMap for this QueryCache. |
String |
getCacheId()
Returns name of the
QueryCache to be created. |
String |
getCacheName()
Returns the name which is given by the user.
|
QueryCacheContext |
getContext()
Returns the
QueryCacheContext on this node/client. |
MapListener |
getListener()
Returns the listener for the
QueryCache to be created. |
IMap |
getMap()
Returns underlying
IMap. |
String |
getMapName()
Returns name of underlying
IMap. |
Predicate |
getPredicate()
Returns predicate which is set.
|
Boolean |
isIncludeValue()
Returns
true if values will be cached otherwise false. |
QueryCacheRequest |
withCacheId(String cacheId)
Setter for name of the
QueryCache. |
QueryCacheRequest |
withCacheName(String cacheName)
Sets the user given name for the
QueryCache. |
QueryCacheRequest |
withContext(QueryCacheContext context)
The
QueryCacheContext on this node/client. |
QueryCacheRequest |
withIncludeValue(Boolean includeValue)
Setter for the
QueryCache for deciding
whether the implementation should cache values of entries. |
QueryCacheRequest |
withListener(MapListener listener)
Setter for the listener which will be used to listen the
QueryCache. |
QueryCacheRequest |
withPredicate(Predicate predicate)
Setter for the predicate which will be used to filter underlying
IMap
of this QueryCache. |
QueryCacheRequest forMap(IMap map)
IMap for this QueryCache.map - underlying IMapQueryCacheRequest withCacheId(String cacheId)
QueryCache.cacheId - name of QueryCacheQueryCacheRequest withCacheName(String cacheName)
QueryCache.cacheName - name of QueryCacheQueryCacheRequest withPredicate(Predicate predicate)
IMap
of this QueryCache.predicate - the predicateQueryCacheRequest withListener(MapListener listener)
QueryCache.listener - the listenerQueryCacheRequest withIncludeValue(Boolean includeValue)
QueryCache for deciding
whether the implementation should cache values of entries.includeValue - true for caching values in the QueryCache
otherwise false to cache only keys.QueryCacheRequest withContext(QueryCacheContext context)
QueryCacheContext on this node/client.context - the QueryCacheContextString getCacheId()
QueryCache to be created.QueryCache to be created.String getCacheName()
QueryCache to be created.Predicate getPredicate()
MapListener getListener()
QueryCache to be created.Boolean isIncludeValue()
true if values will be cached otherwise false.true if values will be cached otherwise falseQueryCacheContext getContext()
QueryCacheContext on this node/client.QueryCacheContext on this node/client.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.