// those that are interested in this event
for (int i = listeners.length - 2; i >= 0; i -= 2) {
if (listeners[i] instanceof CacheEntryEventListener) {
if (eventType.equals(CachewideEventType.CACHE_FLUSHED)) {
CacheEntryEventListener listener = (CacheEntryEventListener) listeners[i+1];
listener.cacheFlushed(event);
}
}
}
}