Class InfinispanRemoteCustomListener
java.lang.Object
org.apache.camel.component.infinispan.InfinispanEventListener<org.infinispan.client.hotrod.event.ClientEvent.Type>
org.apache.camel.component.infinispan.remote.InfinispanRemoteCustomListener
public abstract class InfinispanRemoteCustomListener
extends org.apache.camel.component.infinispan.InfinispanEventListener<org.infinispan.client.hotrod.event.ClientEvent.Type>
This class is supposed to be extended by users and annotated with @ClientListener and passed to the consumer endpoint
through the 'customListener' parameter.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedInfinispanRemoteCustomListener(Set<org.infinispan.client.hotrod.event.ClientEvent.Type> events) -
Method Summary
Modifier and TypeMethodDescriptionprotected static ObjectgetEventData(org.infinispan.client.hotrod.event.ClientEvent e) protected static ObjectgetKey(org.infinispan.client.hotrod.event.ClientEvent event) protected voidprocessEvent(org.infinispan.client.hotrod.event.ClientEvent event) Methods inherited from class org.apache.camel.component.infinispan.InfinispanEventListener
getCacheName, getEventProcessor, getEvents, isAccepted, setCacheName, setEventProcessor
-
Constructor Details
-
InfinispanRemoteCustomListener
protected InfinispanRemoteCustomListener() -
InfinispanRemoteCustomListener
protected InfinispanRemoteCustomListener(Set<org.infinispan.client.hotrod.event.ClientEvent.Type> events)
-
-
Method Details
-
processEvent
protected void processEvent(org.infinispan.client.hotrod.event.ClientEvent event) -
getKey
-
getEventData
-