public interface QueryCacheRequest
QueryCache
.Modifier and Type | Method and Description |
---|---|
QueryCacheRequest |
forMap(IMap map)
Setter for underlying
IMap for this QueryCache . |
String |
getCacheName()
Returns name of the
QueryCache to be created. |
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.
|
String |
getUserGivenCacheName()
Returns the name which is given by the user.
|
Boolean |
isIncludeValue()
Returns
true if values will be cached otherwise false . |
QueryCacheRequest |
withCacheName(String cacheName)
Setter for name of 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 |
withUserGivenCacheName(String userGivenCacheName)
Sets the user given name for the
QueryCache . |
QueryCacheRequest forMap(IMap map)
IMap
for this QueryCache
.map
- underlying IMap
QueryCacheRequest withCacheName(String cacheName)
QueryCache
.cacheName
- name of QueryCache
QueryCacheRequest withUserGivenCacheName(String userGivenCacheName)
QueryCache
.userGivenCacheName
- name of QueryCache
QueryCacheRequest 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 QueryCacheContext
String getCacheName()
QueryCache
to be created.QueryCache
to be created.String getUserGivenCacheName()
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 false
QueryCacheContext getContext()
QueryCacheContext
on this node/client.QueryCacheContext
on this node/client.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.