From 37ba02935f09f558a0901b20423aed4dc69087a4 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Fri, 11 Dec 2015 22:45:39 +0000 Subject: [PATCH] added javadoc to the event listener --- .../chronicle/map/MapEventListener.java | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/main/java/net/openhft/chronicle/map/MapEventListener.java b/src/main/java/net/openhft/chronicle/map/MapEventListener.java index ec05109db..0ca16958b 100644 --- a/src/main/java/net/openhft/chronicle/map/MapEventListener.java +++ b/src/main/java/net/openhft/chronicle/map/MapEventListener.java @@ -146,23 +146,25 @@ public abstract class MapEventListener implements Serializable { * *

This method is called when put is already happened. * - * @param key the key the given value is put for - * @param newValue the value which is now associated with the given key - * @param replacedValue the value which was replaced by {@code newValue}, {@code null} - * if the key was absent in the map before current {@code - * ChronicleMap} - * @param replicationEvent - * @param lastModifiedTimeStamp - * @param lastId - * @param timestamp - * @param identifier + * @param key the key the given value is put for + * @param newValue the value which is now associated with the given key + * @param replacedValue the value which was replaced by {@code newValue}, {@code null} if + * the key was absent in the map before current {@code ChronicleMap} + * @param replicationEvent {@code true} if its a replicaiton event + * @param timestamp the time the event occurred + * @param replacedTimestamp the time stamp that has just been replaced + * @param identifier the node identifier associated with this update + * @param replacedTimestamp the identifier that has just been replaced. */ public void onPut(K key, V newValue, @Nullable V replacedValue, boolean replicationEvent, - boolean added, long lastModifiedTimeStamp, byte lastId, long timestamp, - byte identifier, boolean hasValueChanged) { + boolean added, long timestamp, + long replacedTimestamp, + byte identifier, + byte replacedIdentifier, + boolean hasValueChanged) { } @@ -178,3 +180,4 @@ public abstract class MapEventListener implements Serializable { // do nothing } } +