}
@SuppressWarnings("unchecked")
private void writeRemove(Object key, V value) {
Excerpt excerpt = getExcerpt(maxMessageSize, remove);
long eventId = excerpt.index();
writeKey(excerpt, (K) key);
writeValue(excerpt, value);
excerpt.finish();
if (!notifyOff && !listeners.isEmpty()) {
for (int i = 0; i < listeners.size(); i++) {