}
keysGatheredForNearCacheEviction = new HashSet<Data>(keySet.size());
//add keys for near cache eviction.
keysGatheredForNearCacheEviction.addAll(keySet);
//prepare local "evict keys" operation.
EvictKeysOperation evictKeysOperation = new EvictKeysOperation(mapName, keySet);
evictKeysOperation.setNodeEngine(nodeEngine);
evictKeysOperation.setServiceName(MapService.SERVICE_NAME);
evictKeysOperation.setResponseHandler(ResponseHandlerFactory.createEmptyResponseHandler());
evictKeysOperation.setPartitionId(i);
OperationAccessor.setCallerAddress(evictKeysOperation, nodeEngine.getThisAddress());
nodeEngine.getOperationService().executeOperation(evictKeysOperation);
for (final Object[] kvp : evictableKeyValuePairs) {
if (kvp[0] != null) {
mapService.publishEvent(nodeEngine.getThisAddress(), mapName, EntryEventType.EVICTED,