org.shoal.ha.cache.impl.util
Class StringKeyHelper

java.lang.Object
  extended by org.shoal.ha.cache.impl.util.StringKeyHelper
All Implemented Interfaces:
DataStoreKeyHelper<java.lang.String>

public class StringKeyHelper
extends java.lang.Object
implements DataStoreKeyHelper<java.lang.String>

Author:
Mahesh Kannan

Constructor Summary
StringKeyHelper()
           
 
Method Summary
 java.lang.String readKey(ReplicationInputStream ris)
           
 void writeKey(ReplicationOutputStream ros, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringKeyHelper

public StringKeyHelper()
Method Detail

writeKey

public final void writeKey(ReplicationOutputStream ros,
                           java.lang.String key)
                    throws java.io.IOException
Specified by:
writeKey in interface DataStoreKeyHelper<java.lang.String>
Throws:
java.io.IOException

readKey

public final java.lang.String readKey(ReplicationInputStream ris)
                               throws DataStoreException
Specified by:
readKey in interface DataStoreKeyHelper<java.lang.String>
Throws:
DataStoreException


Copyright © 2010. All Rights Reserved.