org.shoal.ha.cache.impl.util
Class DefaultDataStoreEntryHelper<K,V>
java.lang.Object
org.shoal.ha.cache.impl.util.DefaultDataStoreEntryHelper<K,V>
- All Implemented Interfaces:
- DataStoreEntryHelper<K,V>
public class DefaultDataStoreEntryHelper<K,V>
- extends java.lang.Object
- implements DataStoreEntryHelper<K,V>
- Author:
- Mahesh Kannan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDataStoreEntryHelper
public DefaultDataStoreEntryHelper(ObjectInputOutputStreamFactory factory,
java.lang.ClassLoader loader,
long defaultMaxIdleTime)
getV
public V getV(DataStoreEntry<K,V> replicationEntry)
throws DataStoreException
- Specified by:
getV in interface DataStoreEntryHelper<K,V>
- Throws:
DataStoreException
writeObject
public void writeObject(ReplicationOutputStream ros,
java.lang.Object obj)
throws java.io.IOException
- Specified by:
writeObject in interface DataStoreEntryHelper<K,V>
- Throws:
java.io.IOException
readObject
public java.lang.Object readObject(ReplicationInputStream ris)
throws DataStoreException
- Specified by:
readObject in interface DataStoreEntryHelper<K,V>
- Throws:
DataStoreException
updateState
public void updateState(K k,
DataStoreEntry<K,V> kvDataStoreEntry,
java.lang.Object obj)
throws DataStoreException
- Specified by:
updateState in interface DataStoreEntryHelper<K,V>
- Throws:
DataStoreException
Copyright © 2010. All Rights Reserved.