Class PersistentManager

All Implemented Interfaces:
MBeanRegistration, DistributedManager, JmxEnabled, Lifecycle, Manager, StoreManager

public final class PersistentManager extends PersistentManagerBase
Implementation of the Manager interface that makes use of a Store to swap active Sessions to disk. It can be configured to achieve several different goals:
  • Persist sessions across restarts of the Container
  • Fault tolerance, keep sessions backed up on disk to allow recovery in the event of unplanned restarts.
  • Limit the number of active sessions kept in memory by swapping less active sessions out to disk.
If used with a load-balancer, the load-balancer must be configured to use sticky sessions for this manager to operate correctly.
Author:
Kief Morris ([email protected])
  • Constructor Details

    • PersistentManager

      public PersistentManager()
  • Method Details