com.caucho.distcache
Interface CacheSerializer

All Known Implementing Classes:
HessianSerializer

public interface CacheSerializer

Custom serialization for the cache


Method Summary
 java.lang.Object deserialize(java.io.InputStream is)
          Deserialize the data
 void serialize(java.lang.Object value, java.io.OutputStream os)
          Serialize the data
 

Method Detail

serialize

void serialize(java.lang.Object value,
               java.io.OutputStream os)
               throws java.io.IOException
Serialize the data

Throws:
java.io.IOException

deserialize

java.lang.Object deserialize(java.io.InputStream is)
                             throws java.io.IOException
Deserialize the data

Throws:
java.io.IOException