K
- The key type.public interface PostedEventHandler<K>
Cache.postEvent(Object, String, byte[], Duration)
operations.Modifier and Type | Method and Description |
---|---|
void |
onMessage(K key,
EventPayload payload)
Called when an event is posted to this key.
|
void onMessage(K key, EventPayload payload)
key
- the key.payload
- the EventPayload
.