blob: ca18aa73db16b5d7fec0e782d07d0aa6fd28f6a6 [file] [log] [blame]
Jonathan Hart6df90172014-04-03 10:13:11 -07001package net.onrc.onos.core.datagrid;
Pavlin Radoslavov7940b652014-02-13 19:42:05 -08002
3/**
4 * Event Channel Listener Interface.
5 */
6public interface IEventChannelListener<K, V> {
7 /**
8 * Receive a notification that an entry is added.
9 *
10 * @param value the value for the entry.
11 */
12 void entryAdded(V value);
13
14 /**
15 * Receive a notification that an entry is removed.
16 *
17 * @param value the value for the entry.
18 */
19 void entryRemoved(V value);
20
21 /**
22 * Receive a notification that an entry is updated.
23 *
24 * @param value the value for the entry.
25 */
26 void entryUpdated(V value);
27}