private void publishMapEvent(int numberOfAffectedEntries, EntryEventType eventType) {
final MapService mapService = getService();
final MapServiceContext mapServiceContext = mapService.getMapServiceContext();
final MapEventPublisher mapEventPublisher = mapServiceContext.getMapEventPublisher();
mapEventPublisher.publishMapEvent(getNodeEngine().getThisAddress(),
name, eventType, numberOfAffectedEntries);
}
protected long getTimeInMillis(final long time, final TimeUnit timeunit) {
long timeInMillis = timeunit.toMillis(time);