NIFI-1305 Extended JavaDoc on DistributedMapCacheClient.getAndPutIfAbsent

This closes #2857

Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
This commit is contained in:
Jan Hentschel 2018-07-07 20:58:37 +02:00 committed by Mike Thomsen
parent d50e3f1747
commit 46014bc962
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ public interface DistributedMapCacheClient extends ControllerService {
* @param valueDeserializer value deserializer
* @return If a value already exists in the cache for the given
* key, the value associated with the key is returned, after being
* deserialized with the given valueDeserializer
* deserialized with the given {@code valueDeserializer}. If the key does not
* exist, the key and its value will be added to the cache.
* @throws IOException ex
*/
<K, V> V getAndPutIfAbsent(K key, V value, Serializer<K> keySerializer, Serializer<V> valueSerializer, Deserializer<V> valueDeserializer) throws IOException;