public class CacheContinuousQueryManager extends GridCacheManagerAdapter
cctx, log| Constructor and Description |
|---|
CacheContinuousQueryManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelInternalQuery(UUID routineId) |
void |
cancelJCacheQuery(javax.cache.configuration.CacheEntryListenerConfiguration cfg) |
UUID |
executeInternalQuery(javax.cache.event.CacheEntryUpdatedListener<?,?> locLsnr,
CacheEntryEventSerializableFilter rmtFilter,
boolean loc,
boolean notifyExisting) |
void |
executeJCacheQuery(javax.cache.configuration.CacheEntryListenerConfiguration cfg,
boolean onStart) |
UUID |
executeQuery(javax.cache.event.CacheEntryUpdatedListener locLsnr,
CacheEntryEventSerializableFilter rmtFilter,
int bufSize,
long timeInterval,
boolean autoUnsubscribe,
ClusterGroup grp) |
void |
onEntryExpired(GridCacheEntryEx e,
KeyCacheObject key,
CacheObject oldVal) |
void |
onEntryUpdated(GridCacheEntryEx e,
KeyCacheObject key,
CacheObject newVal,
CacheObject oldVal,
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 GridCacheManagerAdapterIgniteCheckedException - If failed.protected void onKernalStart0()
throws IgniteCheckedException
onKernalStart0 in class GridCacheManagerAdapterIgniteCheckedException - If failed.protected void onKernalStop0(boolean cancel)
onKernalStop0 in class GridCacheManagerAdaptercancel - Cancel flag.public void onEntryUpdated(GridCacheEntryEx e, KeyCacheObject key, CacheObject newVal, CacheObject oldVal, boolean preload) throws IgniteCheckedException
e - Cache entry.key - Key.newVal - New value.oldVal - Old value.preload - Whether update happened during preloading.IgniteCheckedException - In case of error.public void onEntryExpired(GridCacheEntryEx e, KeyCacheObject key, CacheObject oldVal) throws IgniteCheckedException
e - Entry.key - Key.oldVal - Old value.IgniteCheckedException - In case of error.public UUID executeQuery(javax.cache.event.CacheEntryUpdatedListener locLsnr, CacheEntryEventSerializableFilter 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<?,?> locLsnr, CacheEntryEventSerializableFilter 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)
routineId - Consume ID.public void executeJCacheQuery(javax.cache.configuration.CacheEntryListenerConfiguration cfg,
boolean onStart)
throws IgniteCheckedException
cfg - Listener configuration.onStart - Whether listener is created on node start.IgniteCheckedException - If failed.public void cancelJCacheQuery(javax.cache.configuration.CacheEntryListenerConfiguration cfg)
throws IgniteCheckedException
cfg - Listener configuration.IgniteCheckedException - In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015