Added new method HazelcastEventChannel.addTransientEntry(): the added entry
is transient and will automatically timeout after 1ms.
Change-Id: If940861ad34753c3423e96a37ec03ce0fc9f56d7
diff --git a/src/main/java/net/onrc/onos/datagrid/IEventChannel.java b/src/main/java/net/onrc/onos/datagrid/IEventChannel.java
index 7479491..453f21d 100644
--- a/src/main/java/net/onrc/onos/datagrid/IEventChannel.java
+++ b/src/main/java/net/onrc/onos/datagrid/IEventChannel.java
@@ -49,6 +49,16 @@
void addEntry(K key, V value);
/**
+ * Add a transient entry to the channel.
+ *
+ * The added entry is transient and will automatically timeout after 1ms.
+ *
+ * @param key the key of the entry to add.
+ * @param value the value of the entry to add.
+ */
+ void addTransientEntry(K key, V value);
+
+ /**
* Remove an entry from the channel.
*
* @param key the key of the entry to remove.