org.shoal.ha.cache.api
Interface DataStoreEntryHelper<K,V>

All Known Implementing Classes:
DefaultDataStoreEntryHelper

public interface DataStoreEntryHelper<K,V>

Author:
Mahesh Kannan

Method Summary
 V getV(DataStoreEntry<K,V> entry)
           
 java.lang.Object readObject(ReplicationInputStream ris)
           
 void writeObject(ReplicationOutputStream ros, V obj)
           
 

Method Detail

getV

V getV(DataStoreEntry<K,V> entry)
       throws DataStoreException
Throws:
DataStoreException

writeObject

void writeObject(ReplicationOutputStream ros,
                 V obj)
                 throws java.io.IOException
Throws:
java.io.IOException

readObject

java.lang.Object readObject(ReplicationInputStream ris)
                            throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.