Uses of Interface
org.apache.nifi.distributed.cache.client.Deserializer
Packages that use Deserializer
-
Uses of Deserializer in org.apache.nifi.distributed.cache.client
Methods in org.apache.nifi.distributed.cache.client with parameters of type DeserializerModifier and TypeMethodDescription<K,
V> AtomicCacheEntry <K, V, R> 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 returnsnull
<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 givenSerializer
s.default <K> Set
<K> DistributedMapCacheClient.keySet
(Deserializer<K> keyDeserializer) Returns a set of all keys currently in the cachedefault <K,
V> V DistributedMapCacheClient.removeAndGet
(K key, Serializer<K> keySerializer, Deserializer<V> valueDeserializer) Removes the entry with the given key from the cache, if it is present, and returns the value that was removed from the map.default <K,
V> Map <K, V> DistributedMapCacheClient.subMap
(Set<K> keys, Serializer<K> keySerializer, Deserializer<V> valueDeserializer) Returns the values in the cache for the given keys, if they exist; otherwise returnsnull