org.apache.camel.component.hazelcast.listener
Class CamelItemListener

java.lang.Object
  extended by org.apache.camel.component.hazelcast.listener.CamelListener
      extended by org.apache.camel.component.hazelcast.listener.CamelItemListener
All Implemented Interfaces:
com.hazelcast.core.ItemListener<Object>, EventListener

public class CamelItemListener
extends CamelListener
implements com.hazelcast.core.ItemListener<Object>


Constructor Summary
CamelItemListener(HazelcastDefaultConsumer consumer, String cacheName)
           
 
Method Summary
 void itemAdded(com.hazelcast.core.ItemEvent<Object> itemEvent)
           
 void itemAdded(Object item)
          Deprecated. is using the Hazelcast 1.x API
 void itemRemoved(com.hazelcast.core.ItemEvent<Object> itemEvent)
           
 void itemRemoved(Object item)
          Deprecated. is using the Hazelcast 1.x API
 
Methods inherited from class org.apache.camel.component.hazelcast.listener.CamelListener
getCacheName, getConsumer, sendExchange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelItemListener

public CamelItemListener(HazelcastDefaultConsumer consumer,
                         String cacheName)
Method Detail

itemAdded

@Deprecated
public void itemAdded(Object item)
Deprecated. is using the Hazelcast 1.x API


itemRemoved

@Deprecated
public void itemRemoved(Object item)
Deprecated. is using the Hazelcast 1.x API


itemAdded

public void itemAdded(com.hazelcast.core.ItemEvent<Object> itemEvent)
Specified by:
itemAdded in interface com.hazelcast.core.ItemListener<Object>

itemRemoved

public void itemRemoved(com.hazelcast.core.ItemEvent<Object> itemEvent)
Specified by:
itemRemoved in interface com.hazelcast.core.ItemListener<Object>


Apache CAMEL