public class CacheContinuousQueryManager extends GridCacheManagerAdapter
cctx, log| Constructor and Description |
|---|
CacheContinuousQueryManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeExchange(AffinityTopologyVersion topVer) |
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,
boolean keepBinary) |
UUID |
executeQuery(javax.cache.event.CacheEntryUpdatedListener locLsnr,
CacheEntryEventSerializableFilter rmtFilter,
int bufSize,
long timeInterval,
boolean autoUnsubscribe,
boolean loc,
boolean keepBinary) |
void |
onEntryExpired(GridCacheEntryEx e,
KeyCacheObject key,
CacheObject oldVal) |
void |
onEntryUpdated(KeyCacheObject key,
CacheObject newVal,
CacheObject oldVal,
boolean internal,
int partId,
boolean primary,
boolean preload,
long updateCntr,
AffinityTopologyVersion topVer) |
protected void |
onKernalStart0() |
protected void |
onKernalStop0(boolean cancel) |
void |
onPartitionEvicted(int part)
Partition evicted callback.
|
void |
skipUpdateEvent(KeyCacheObject key,
int partId,
long updCntr,
AffinityTopologyVersion topVer) |
protected void |
start0() |
context, kernalStartInfo, kernalStopInfo, log, onDisconnected, 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 skipUpdateEvent(KeyCacheObject key, int partId, long updCntr, AffinityTopologyVersion topVer)
partId - Partition id.updCntr - Updated counter.topVer - Topology version.public void onEntryUpdated(KeyCacheObject key, CacheObject newVal, CacheObject oldVal, boolean internal, int partId, boolean primary, boolean preload, long updateCntr, AffinityTopologyVersion topVer) throws IgniteCheckedException
key - Key.newVal - New value.oldVal - Old value.internal - Internal entry (internal key or not user cache),primary - True if called on primary node.preload - Whether update happened during preloading.updateCntr - Update counter.topVer - Topology version.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, boolean loc, boolean keepBinary) throws IgniteCheckedException
locLsnr - Local listener.rmtFilter - Remote filter.bufSize - Buffer size.timeInterval - Time interval.autoUnsubscribe - Auto unsubscribe flag.loc - Local flag.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,
boolean keepBinary)
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.public void beforeExchange(AffinityTopologyVersion topVer)
topVer - Topology version.public void onPartitionEvicted(int part)
part - Partition number.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.0-b1 Release Date : December 1 2015