Package | Description |
---|---|
org.apache.nifi.distributed.cache.client |
Modifier and Type | Method and Description |
---|---|
<K,V> AtomicDistributedMapCacheClient.CacheEntry<K,V> |
AtomicDistributedMapCacheClient.fetch(K key,
Serializer<K> keySerializer,
Deserializer<V> valueDeserializer)
Fetch a CacheEntry with a key.
|
<K,V> V |
DistributedMapCacheClient.get(K key,
Serializer<K> keySerializer,
Deserializer<V> valueDeserializer)
Returns the value in the cache for the given key, if one exists;
otherwise returns
null |
<K,V> V |
DistributedMapCacheClient.getAndPutIfAbsent(K key,
V value,
Serializer<K> keySerializer,
Serializer<V> valueSerializer,
Deserializer<V> valueDeserializer)
Adds the specified key and value to the cache, if they are not already
present, serializing the key and value with the given
Serializer s. |
Copyright © 2017 Apache NiFi Project. All rights reserved.