public class CacheContinuousQueryHandlerV2<K,V> extends CacheContinuousQueryHandler<K,V>
Factory for remote listener.GridContinuousHandler.RegisterStatus| Modifier and Type | Field and Description |
|---|---|
protected javax.cache.event.CacheEntryEventFilter |
filter |
DFLT_CONTINUOUS_QUERY_BACKUP_ACK_THRESHOLD, DFLT_CONTINUOUS_QUERY_LISTENER_MAX_BUFFER_SIZE, IGNITE_CONTINUOUS_QUERY_BACKUP_ACK_THRESHOLD, IGNITE_CONTINUOUS_QUERY_LISTENER_MAX_BUFFER_SIZE, initFut, p2pUnmarshalFut| Constructor and Description |
|---|
CacheContinuousQueryHandlerV2()
Required by
Externalizable. |
CacheContinuousQueryHandlerV2(String cacheName,
Object topic,
@Nullable javax.cache.event.CacheEntryUpdatedListener<K,V> locLsnr,
@Nullable javax.cache.configuration.Factory<? extends javax.cache.event.CacheEntryEventFilter<K,V>> rmtFilterFactory,
boolean oldValRequired,
boolean sync,
boolean ignoreExpired,
boolean ignoreClsNotFound,
@Nullable Byte types)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GridContinuousHandler |
clone()
Clones this handler.
|
protected javax.cache.event.CacheEntryEventFilter |
getEventFilter0()
Returns an event filter without waiting on the unmarshalling future.
|
boolean |
isMarshalled() |
void |
p2pMarshal(GridKernalContext ctx)
Deploys and marshals inner objects (called only if peer deployment is enabled).
|
void |
p2pUnmarshal(UUID nodeId,
GridKernalContext ctx)
Unmarshals inner objects (called only if peer deployment is enabled).
|
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
cacheName, createBatch, filter, flushOnNodeLeft, getEventFilter, getTransformer, getTransformer0, initRemoteFilter, internal, isEvents, isMessaging, isQuery, keepBinary, keepBinary, localListener, localOnly, localOnly, localTransformedEventListener, notifyCallback, notifyExisting, notifyExisting, oldValueRequired, onBatchAcknowledged, onClientDisconnected, orderedTopic, p2pUnmarshal, register, skipPrimaryCheck, taskNameHash, unregister, updateCounters, updateCounterspublic CacheContinuousQueryHandlerV2()
Externalizable.public CacheContinuousQueryHandlerV2(String cacheName, Object topic, @Nullable @Nullable javax.cache.event.CacheEntryUpdatedListener<K,V> locLsnr, @Nullable @Nullable javax.cache.configuration.Factory<? extends javax.cache.event.CacheEntryEventFilter<K,V>> rmtFilterFactory, boolean oldValRequired, boolean sync, boolean ignoreExpired, boolean ignoreClsNotFound, @Nullable @Nullable Byte types)
cacheName - Cache name.topic - Topic for ordered messages.locLsnr - Local listener.rmtFilterFactory - Remote filter factory.oldValRequired - Old value required flag.sync - Synchronous flag.ignoreExpired - Ignore expired events flag.types - Event types.protected javax.cache.event.CacheEntryEventFilter getEventFilter0()
getEventFilter0 in class CacheContinuousQueryHandler<K,V>public void p2pMarshal(GridKernalContext ctx) throws IgniteCheckedException
p2pMarshal in interface GridContinuousHandlerp2pMarshal in class CacheContinuousQueryHandler<K,V>ctx - Kernal context.IgniteCheckedException - In case of error.public void p2pUnmarshal(UUID nodeId, GridKernalContext ctx) throws IgniteCheckedException
p2pUnmarshal in interface GridContinuousHandlerp2pUnmarshal in class CacheContinuousQueryHandler<K,V>nodeId - Sender node ID.ctx - Kernal context.IgniteCheckedException - In case of error.public boolean isMarshalled()
isMarshalled in class CacheContinuousQueryHandler<K,V>public GridContinuousHandler clone()
clone in interface GridContinuousHandlerclone in class CacheContinuousQueryHandler<K,V>public String toString()
toString in class CacheContinuousQueryHandler<K,V>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class CacheContinuousQueryHandler<K,V>IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class CacheContinuousQueryHandler<K,V>IOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021