We are in requirement of storing custom object (Map<String><String>) in caches with some customName(NodeId) in alfresco.
Eg: When the user first time invokes custom action in certain node, data will be created in the form of Map and that needs to be stored in cache with region name as nodeId.
The same data needs to be retrieved from cache using nodeId when user second time invokes same action in the same node .
And all the caches needs to be cleared automatically with in some pre configured time.
I guess probably we need to use hazelcast to achieve this, but I cannot able to find the proper documentation for this purpose.
Can someone guide me with the best approach ?