| Modifier and Type | Method and Description |
|---|---|
void |
releaseCapacity(java.lang.Object context,
java.lang.Object id,
java.lang.Object state,
StateManager stateManager)
releaseCapacity will be invoked by StateManager whenver state is removed.
|
void |
useCapacity(java.lang.Object context,
java.lang.Object id,
java.lang.Object state,
StateManager stateManager)
The useCapacity will be invoked by the StateManager whenever a state is stored.
|
getTimeToLive, isDistributable, isPersistentvoid useCapacity(java.lang.Object context,
java.lang.Object id,
java.lang.Object state,
StateManager stateManager)
context - the ADF context of the required stateid - of passivated state which is being stored in sessionstate - Passivated state which is being stored in sessionstateManager - StateManagerInstance which can be used to store the total pasivate state size in sessionvoid releaseCapacity(java.lang.Object context,
java.lang.Object id,
java.lang.Object state,
StateManager stateManager)
context - the ADF context of the required stateid - of passivated state which is being stored in sessionstate - Passivate state which is being stored in sessionstateManager - StateManagerInstance which can be used to store the calculated total pasivate state size in session