| Package | Description |
|---|---|
| org.apache.nifi.distributed.cache.client |
| Modifier and Type | Method and Description |
|---|---|
<V> V |
NettyDistributedMapCacheClient.get(byte[] key,
ValueInboundAdapter<V> valueAdapter)
Returns the value in the cache for the given key, if one exists;
otherwise returns
null |
<V> V |
NettyDistributedMapCacheClient.getAndPutIfAbsent(byte[] key,
byte[] value,
ValueInboundAdapter<V> valueAdapter)
Adds the specified key and value to the cache, if they are not already
present.
|
<V> V |
NettyDistributedMapCacheClient.removeAndGet(byte[] key,
ValueInboundAdapter<V> valueAdapter)
Removes the entry with the given key from the cache, if it is present,
and returns the value that was removed from the map.
|
Copyright © 2022 Apache NiFi Project. All rights reserved.