}
public void run() {
MapService mapService = getService();
if (mapService.getMapContainer(mapName).isNearCacheEnabled()) {
mapService.invalidateNearCache(mapName, key);
} else {
getLogger().warning("Cache clear operation has been accepted while near cache is not enabled for "
+ mapName + " map. Possible configuration conflict among nodes.");
}
}