JavaScript is disabled on your browser.
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 12c (12.2.1.4.0) E81446-01
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
All Superinterfaces:
Policy
public interface CompressionPolicy
extends Policy
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
All Methods Instance Methods Abstract Methods
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.
Method Detail
getCompressedState
java.lang.Object getCompressedState(java.lang.Object id,
java.lang.Object obj)
getCompressedState returns the state after compressing it.
Parameters:
obj
- Object which represents the state and which needs compression
id
- of passivated state which is being compressed
Returns:
a compressed state object.
getDecompressedState
java.lang.Object getDecompressedState(java.lang.Object id,
java.lang.Object obj)
getDecompressedState returns the state after de-compressing it.
Parameters:
obj
- Object which represents the state and which needs de-compression
id
- of passivated state which is being compressed
Returns:
a de-compressed state object.
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 12c (12.2.1.4.0) E81446-01
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
Copyright © 1997, 2019, Oracle. All rights reserved.