Class ClientCacheEntryEventNotification
- java.lang.Object
-
- org.apache.ignite.internal.processors.odbc.ClientListenerResponse
-
- org.apache.ignite.internal.processors.platform.client.ClientNotification
-
- org.apache.ignite.internal.processors.platform.client.cache.ClientCacheEntryEventNotification
-
- All Implemented Interfaces:
ClientOutgoingMessage
public class ClientCacheEntryEventNotification extends ClientNotification
Continuous query notification.
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.odbc.ClientListenerResponse
STATUS_FAILED, STATUS_SUCCESS
-
-
Constructor Summary
Constructors Constructor Description ClientCacheEntryEventNotification(short opCode, long rsrcId, Iterable<javax.cache.event.CacheEntryEvent<?,?>> evts)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(ClientConnectionContext ctx, BinaryRawWriterEx writer)Encodes the notification data.-
Methods inherited from class org.apache.ignite.internal.processors.platform.client.ClientNotification
resourceId
-
-
-
-
Constructor Detail
-
ClientCacheEntryEventNotification
public ClientCacheEntryEventNotification(short opCode, long rsrcId, Iterable<javax.cache.event.CacheEntryEvent<?,?>> evts)Ctor.- Parameters:
opCode- Operation code.rsrcId- Resource ID.evts- Events.
-
-
Method Detail
-
encode
public void encode(ClientConnectionContext ctx, BinaryRawWriterEx writer)
Encodes the notification data.- Specified by:
encodein interfaceClientOutgoingMessage- Overrides:
encodein classClientNotification- Parameters:
ctx- Connection context.writer- Writer.
-
-