Class ReplicationCommandTransmitterWithMap<K,V>
- java.lang.Object
-
- org.shoal.ha.cache.impl.interceptor.ReplicationCommandTransmitterWithMap<K,V>
-
- All Implemented Interfaces:
java.lang.Runnable,CommandCollector<K,V>
public class ReplicationCommandTransmitterWithMap<K,V> extends java.lang.Object implements java.lang.Runnable, CommandCollector<K,V>
- Author:
- Mahesh Kannan
-
-
Constructor Summary
Constructors Constructor Description ReplicationCommandTransmitterWithMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCommand(Command<K,V> cmd)voidclose()voidinitialize(java.lang.String targetName, DataStoreContext<K,V> rsInfo)voidremoveCommand(Command<K,V> cmd)voidrun()
-
-
-
Method Detail
-
initialize
public void initialize(java.lang.String targetName, DataStoreContext<K,V> rsInfo)- Specified by:
initializein interfaceCommandCollector<K,V>
-
close
public void close()
- Specified by:
closein interfaceCommandCollector<K,V>
-
addCommand
public void addCommand(Command<K,V> cmd) throws DataStoreException
- Specified by:
addCommandin interfaceCommandCollector<K,V>- Throws:
DataStoreException
-
removeCommand
public void removeCommand(Command<K,V> cmd) throws DataStoreException
- Specified by:
removeCommandin interfaceCommandCollector<K,V>- Throws:
DataStoreException
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
-