if (eventType == NO_NEED_TO_FIRE_EVENT) {
return;
}
final MapServiceContext mapServiceContext = mapService.getMapServiceContext();
MapEventPublisher mapEventPublisher = mapServiceContext.getMapEventPublisher();
String serviceName = mapServiceContext.serviceName();
InMemoryFormat format = mapContainer.getMapConfig().getInMemoryFormat();
EventService eventService = mapServiceContext.getNodeEngine().getEventService();
if (eventService.hasEventRegistration(serviceName, name)) {
if (format == InMemoryFormat.OBJECT && eventType != EntryEventType.REMOVED) {
oldValue = null;