|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.9.1) E67677-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompressionPolicy
The CompressionPolicy defines a policy for StateManager that can be used to compress and decompress the state stored by the StateManger client. Compression policy will be called by StateManager whenever the state is being stored or removed.
Method Summary | |
---|---|
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. |
Methods inherited from interface oracle.adf.share.statemanager.Policy |
---|
getTimeToLive, isDistributable, isPersistent |
Method Detail |
---|
java.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
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.9.1) E67677-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |