Skip to content

Instantly share code, notes, and snippets.

@galderz
Last active August 29, 2015 14:06
import org.infinispan.client.hotrod.annotation.*;
import org.infinispan.client.hotrod.event.*;
@ClientListener(converterFactoryName = "value-added-converter-factory")
public class CustomEventLogListener {
@ClientCacheEntryCreated
@ClientCacheEntryModified
@ClientCacheEntryRemoved
public void handleRemoteEvent(ClientCacheEntryCustomEvent<ValueAddedEvent> e) {
System.out.println(event);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment