Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addIfAbsent(T, Serializer<T>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedSetCacheClient
-
Adds the specified value to the cache, serializing the value with the given
Serializer
. - AtomicCacheEntry<K,
V, - Class in org.apache.nifi.distributed.cache.clientR> - AtomicCacheEntry(K, V, R) - Constructor for class org.apache.nifi.distributed.cache.client.AtomicCacheEntry
-
Create new cache entry.
- AtomicDistributedMapCacheClient<R> - Interface in org.apache.nifi.distributed.cache.client
-
This interface defines an API that can be used for interacting with a Distributed Cache that functions similarly to a
Map
.
C
- close() - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
Attempts to notify the server that we are finished communicating with it and cleans up resources
- close() - Method in interface org.apache.nifi.distributed.cache.client.DistributedSetCacheClient
-
Attempts to notify the server that we are finished communicating with it and cleans up resources
- contains(T, Serializer<T>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedSetCacheClient
- containsKey(K, Serializer<K>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
Determines if the given value is present in the cache and if so returns
true
, else returnsfalse
D
- DeserializationException - Exception Class in org.apache.nifi.distributed.cache.client.exception
- DeserializationException(String) - Constructor for exception class org.apache.nifi.distributed.cache.client.exception.DeserializationException
- DeserializationException(String, Throwable) - Constructor for exception class org.apache.nifi.distributed.cache.client.exception.DeserializationException
- DeserializationException(Throwable) - Constructor for exception class org.apache.nifi.distributed.cache.client.exception.DeserializationException
- deserialize(byte[]) - Method in interface org.apache.nifi.distributed.cache.client.Deserializer
-
Deserializes the given byte array input an Object and returns that value.
- Deserializer<T> - Interface in org.apache.nifi.distributed.cache.client
-
Provides an interface for deserializing an array of bytes into an Object
- DistributedMapCacheClient - Interface in org.apache.nifi.distributed.cache.client
-
This interface defines an API that can be used for interacting with a Distributed Cache that functions similarly to a
Map
. - DistributedSetCacheClient - Interface in org.apache.nifi.distributed.cache.client
-
This interface defines an API that can be used for interacting with a Distributed Cache that functions similarly to a
Set
.
F
- fetch(K, Serializer<K>, Deserializer<V>) - Method in interface org.apache.nifi.distributed.cache.client.AtomicDistributedMapCacheClient
-
Fetch a CacheEntry with a key.
G
- get(K, Serializer<K>, Deserializer<V>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
Returns the value in the cache for the given key, if one exists; otherwise returns
null
- getAndPutIfAbsent(K, V, Serializer<K>, Serializer<V>, Deserializer<V>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
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. - getKey() - Method in class org.apache.nifi.distributed.cache.client.AtomicCacheEntry
- getRevision() - Method in class org.apache.nifi.distributed.cache.client.AtomicCacheEntry
- getValue() - Method in class org.apache.nifi.distributed.cache.client.AtomicCacheEntry
K
- key - Variable in class org.apache.nifi.distributed.cache.client.AtomicCacheEntry
- keySet(Deserializer<K>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
Returns a set of all keys currently in the cache
O
- org.apache.nifi.distributed.cache.client - package org.apache.nifi.distributed.cache.client
- org.apache.nifi.distributed.cache.client.exception - package org.apache.nifi.distributed.cache.client.exception
P
- put(K, V, Serializer<K>, Serializer<V>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
Adds the specified key and value to the cache, overwriting any value that is currently set.
- putAll(Map<K, V>, Serializer<K>, Serializer<V>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
Performs a bulk put operation.
- putIfAbsent(K, V, Serializer<K>, Serializer<V>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
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.
R
- remove(K, Serializer<K>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
Removes the entry with the given key from the cache, if it is present.
- remove(T, Serializer<T>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedSetCacheClient
-
Removes the given value from the cache, if it is present.
- removeAndGet(K, Serializer<K>, Deserializer<V>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
Removes the entry with the given key from the cache, if it is present, and returns the value that was removed from the map.
- replace(AtomicCacheEntry<K, V, R>, Serializer<K>, Serializer<V>) - Method in interface org.apache.nifi.distributed.cache.client.AtomicDistributedMapCacheClient
-
Replace an existing key with new value.
- revision - Variable in class org.apache.nifi.distributed.cache.client.AtomicCacheEntry
S
- SerializationException - Exception Class in org.apache.nifi.distributed.cache.client.exception
- SerializationException(String) - Constructor for exception class org.apache.nifi.distributed.cache.client.exception.SerializationException
- SerializationException(String, Throwable) - Constructor for exception class org.apache.nifi.distributed.cache.client.exception.SerializationException
- SerializationException(Throwable) - Constructor for exception class org.apache.nifi.distributed.cache.client.exception.SerializationException
- serialize(T, OutputStream) - Method in interface org.apache.nifi.distributed.cache.client.Serializer
-
Serializes the given value to the
OutputStream
- Serializer<T> - Interface in org.apache.nifi.distributed.cache.client
-
Provides a mechanism by which a value can be serialized to a stream of bytes
- setValue(V) - Method in class org.apache.nifi.distributed.cache.client.AtomicCacheEntry
- subMap(Set<K>, Serializer<K>, Deserializer<V>) - Method in interface org.apache.nifi.distributed.cache.client.DistributedMapCacheClient
-
Returns the values in the cache for the given keys, if they exist; otherwise returns
null
V
- value - Variable in class org.apache.nifi.distributed.cache.client.AtomicCacheEntry
All Classes and Interfaces|All Packages|Serialized Form