public interface CompressionPolicy extends Policy
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCompressedState(java.lang.Object id,
java.lang.Object obj)
getCompressedState returns the state after compressing it.
|
java.lang.Object |
getDecompressedState(java.lang.Object id,
java.lang.Object obj)
getDecompressedState returns the state after de-compressing it.
|
getTimeToLive, isDistributable, isPersistentjava.lang.Object getCompressedState(java.lang.Object id,
java.lang.Object obj)
obj - Object which represents the state and which needs compressionid - of passivated state which is being compressedjava.lang.Object getDecompressedState(java.lang.Object id,
java.lang.Object obj)
obj - Object which represents the state and which needs de-compressionid - of passivated state which is being compressed