I'm running a periodic check of the free space on each node of my cluster. The cluster contains a partitioned region. If some node is getting full, I'd like to remove least recently used items to free up the space. New items are getting loaded constantly. I've enabled statistics, so it looks like I can get last access time of each item, but I'd like to iterate through only "local" items, the items which are stored on the local node only. I'm trying different things, but none of them seems right. Is it even possible? If so, could you please point me to the right direction?
Thank you, Eugene
