K - Entry key type after deserializationV - Entry value type after deserializationpublic class AbstractHazelcastStore.RemoteEventHandler<K,V>
extends com.hazelcast.core.EntryAdapter<byte[],byte[]>
| Constructor and Description |
|---|
RemoteEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
entryAdded(com.hazelcast.core.EntryEvent<byte[],byte[]> event) |
void |
entryRemoved(com.hazelcast.core.EntryEvent<byte[],byte[]> event) |
void |
entryUpdated(com.hazelcast.core.EntryEvent<byte[],byte[]> event) |
protected void |
onAdd(K key,
V newVal)
Remote entry addition hook.
|
protected void |
onRemove(K key,
V val)
Remote entry remove hook.
|
protected void |
onUpdate(K key,
V oldValue,
V newVal)
Remote entry update hook.
|
public void entryAdded(com.hazelcast.core.EntryEvent<byte[],byte[]> event)
entryAdded in interface com.hazelcast.core.EntryListener<byte[],byte[]>entryAdded in class com.hazelcast.core.EntryAdapter<byte[],byte[]>public void entryRemoved(com.hazelcast.core.EntryEvent<byte[],byte[]> event)
entryRemoved in interface com.hazelcast.core.EntryListener<byte[],byte[]>entryRemoved in class com.hazelcast.core.EntryAdapter<byte[],byte[]>public void entryUpdated(com.hazelcast.core.EntryEvent<byte[],byte[]> event)
entryUpdated in interface com.hazelcast.core.EntryListener<byte[],byte[]>entryUpdated in class com.hazelcast.core.EntryAdapter<byte[],byte[]>protected void onAdd(K key, V newVal)
key - new keynewVal - new valueprotected void onUpdate(K key, V oldValue, V newVal)
key - new keyoldValue - old valuenewVal - new valueCopyright © 2014. All rights reserved.