HazelcastMapCacheClient 2.0.0

Bundle
org.apache.nifi | nifi-hazelcast-services-nar
Description
An implementation of DistributedMapCacheClient that uses Hazelcast as the backing cache. This service relies on an other controller service, manages the actual Hazelcast calls, set in Hazelcast Cache Manager.
Tags
cache, hazelcast, map
Input Requirement
Supports Sensitive Dynamic Properties
false
  • Additional Details for HazelcastMapCacheClient 2.0.0

    HazelcastMapCacheClient

    This implementation of distributed map cache is backed by Hazelcast. The Hazelcast connection is provided and maintained by an instance of HazelcastCacheManager. One HazelcastCacheManager might serve multiple cache clients. This implementation uses the IMap data structure. The identifier of the Hazelcast IMap will be the same as the value of the property Hazelcast Cache Name. It is recommended for all HazelcastMapCacheClient instances to use different cache names.

    The implementation supports the atomic method family defined in AtomicDistributedMapCacheClient. This is achieved by maintaining a revision number for every entry. The revision is an 8 byte long integer. It is increased when the entry is updated. The value is kept during modifications not part of the atomic method family but this is mainly for regular management of the entries. It is not recommended to work with elements by mixing the two method families.

    The convention for all the entries is to reserve the first 8 bytes for the revision. The rest of the content is the serialized payload.

Properties