Class ClientCacheEntryListenerHandler<K,V>
- java.lang.Object
-
- org.apache.ignite.internal.client.thin.ClientCacheEntryListenerHandler<K,V>
-
- All Implemented Interfaces:
AutoCloseable
public class ClientCacheEntryListenerHandler<K,V> extends Object implements AutoCloseable
Handler forContinuousQuerylisteners and JCache cache entry listeners.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptNotification(ByteBuffer payload, Exception err)org.apache.ignite.internal.client.thin.ClientChannelclientChannel()Client channel.voidclose()voidonChannelClosed(Exception reason)voidstartListen(javax.cache.event.CacheEntryUpdatedListener<K,V> locLsnr, ClientDisconnectListener disconnectLsnr, javax.cache.configuration.Factory<? extends javax.cache.event.CacheEntryEventFilter<? super K,? super V>> rmtFilterFactory, int pageSize, long timeInterval, boolean includeExpired)Send request to the server and start
-
-
-
Method Detail
-
startListen
public void startListen(javax.cache.event.CacheEntryUpdatedListener<K,V> locLsnr, ClientDisconnectListener disconnectLsnr, javax.cache.configuration.Factory<? extends javax.cache.event.CacheEntryEventFilter<? super K,? super V>> rmtFilterFactory, int pageSize, long timeInterval, boolean includeExpired)
Send request to the server and start
-
acceptNotification
public void acceptNotification(ByteBuffer payload, Exception err)
-
onChannelClosed
public void onChannelClosed(Exception reason)
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
clientChannel
public org.apache.ignite.internal.client.thin.ClientChannel clientChannel()
Client channel.
-
-