public class CacheContinuousQueryManager<K,V> extends GridCacheManagerAdapter<K,V>
cctx, log| Constructor and Description |
|---|
CacheContinuousQueryManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelInternalQuery(UUID routineId) |
void |
cancelJCacheQuery(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cfg) |
UUID |
executeInternalQuery(javax.cache.event.CacheEntryUpdatedListener<K,V> locLsnr,
javax.cache.event.CacheEntryEventFilter<K,V> rmtFilter,
boolean loc,
boolean notifyExisting) |
void |
executeJCacheQuery(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cfg,
boolean onStart) |
UUID |
executeQuery(javax.cache.event.CacheEntryUpdatedListener<K,V> locLsnr,
javax.cache.event.CacheEntryEventFilter<K,V> rmtFilter,
int bufSize,
long timeInterval,
boolean autoUnsubscribe,
ClusterGroup grp) |
void |
onEntryExpired(GridCacheEntryEx<K,V> e,
K key,
V oldVal,
GridCacheValueBytes oldBytes) |
void |
onEntryUpdated(GridCacheEntryEx<K,V> e,
K key,
V newVal,
GridCacheValueBytes newBytes,
V oldVal,
GridCacheValueBytes oldBytes,
boolean preload) |
protected void |
onKernalStart0() |
protected void |
onKernalStop0(boolean cancel) |
protected void |
start0() |
context, kernalStartInfo, kernalStopInfo, log, onKernalStart, onKernalStop, printMemoryStats, start, startInfo, stop, stop0, stopInfo, toStringprotected void start0()
throws IgniteCheckedException
start0 in class GridCacheManagerAdapter<K,V>IgniteCheckedException - If failed.protected void onKernalStart0()
throws IgniteCheckedException
onKernalStart0 in class GridCacheManagerAdapter<K,V>IgniteCheckedException - If failed.protected void onKernalStop0(boolean cancel)
onKernalStop0 in class GridCacheManagerAdapter<K,V>cancel - Cancel flag.public void onEntryUpdated(GridCacheEntryEx<K,V> e, K key, V newVal, GridCacheValueBytes newBytes, V oldVal, GridCacheValueBytes oldBytes, boolean preload) throws IgniteCheckedException
e - Cache entry.key - Key.newVal - New value.newBytes - New value bytes.oldVal - Old value.oldBytes - Old value bytes.preload - Whether update happened during preloading.IgniteCheckedException - In case of error.public void onEntryExpired(GridCacheEntryEx<K,V> e, K key, V oldVal, GridCacheValueBytes oldBytes) throws IgniteCheckedException
e - Entry.key - Key.oldVal - Old value.oldBytes - Old value bytes.IgniteCheckedException - In case of error.public UUID executeQuery(javax.cache.event.CacheEntryUpdatedListener<K,V> locLsnr, javax.cache.event.CacheEntryEventFilter<K,V> rmtFilter, int bufSize, long timeInterval, boolean autoUnsubscribe, ClusterGroup grp) throws IgniteCheckedException
locLsnr - Local listener.rmtFilter - Remote filter.bufSize - Buffer size.timeInterval - Time interval.autoUnsubscribe - Auto unsubscribe flag.grp - Cluster group.IgniteCheckedException - In case of error.public UUID executeInternalQuery(javax.cache.event.CacheEntryUpdatedListener<K,V> locLsnr, javax.cache.event.CacheEntryEventFilter<K,V> rmtFilter, boolean loc, boolean notifyExisting) throws IgniteCheckedException
locLsnr - Local listener.rmtFilter - Remote filter.loc - Local flag.notifyExisting - Notify existing flag.IgniteCheckedException - In case of error.public void cancelInternalQuery(UUID routineId)
public void executeJCacheQuery(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cfg, boolean onStart) throws IgniteCheckedException
cfg - Listener configuration.onStart - Whether listener is created on node start.IgniteCheckedExceptionpublic void cancelJCacheQuery(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cfg) throws IgniteCheckedException
cfg - Listener configuration.IgniteCheckedException - In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015