-
1. Re: standardjboss.xml (SFSB) cache-policy-conf settings
juhalindfors Dec 21, 2002 4:13 PM (in response to rixc)remover-period: how often the remover thread is run to remove the passivated session state from disk
max-bean-life: how long the serialized bean state can exist on disk. If the session bean has not been activated in max-bean-life seconds then it will be removed when the remover thread is run the next time (which is run within the next remover-period seconds)
overager-period: how often the overager thread is run which checks the instances in the cache (in server memory) and sees whether an instance should be passivated
max-bean-age: how long the bean is allowed to live in the cache (activated) before passivated. If it has not been accessed within max-bean-age, then it is passivated the next time the overager thread runs (within the overager-period seconds)
resizer-period: how often the thread monitoring cache misses (whether a requested instance was active) is run. This controls the cache resizing.
So you're primarily interested in max-bean-age, and maybe the overager-period if your age is very low. Remover-period and max-bean-life control the scavenger thread that cleans the disk, not directly controlling passivation.