@Override
public byte[] getEventData() {
RemoteCache cache = remoteCacheManager.getCache();
int keySizeEstimate = cache.getRemoteCacheManager().getConfiguration().keySizeEstimate();
int valueSizeEstimate = cache.getRemoteCacheManager().getConfiguration().valueSizeEstimate();
byte[] key = cache.getDataFormat().keyToBytes(sessionId, keySizeEstimate, valueSizeEstimate);
int capacity = UnsignedNumeric.sizeUnsignedInt(key.length) + key.length;
byte[] out = new byte[capacity];
int offset = UnsignedNumeric.writeUnsignedInt(out, 0, key.length);
System.arraycopy(key, 0, out, offset, key.length);
return out;
}