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.
  • Constructor Details

    • PersistentManager

      public PersistentManager()
      Construct a new PersistentManager instance.
  • Method Details

    • getName

      public String getName()
      Description copied from class: ManagerBase
      Returns the descriptive short name of this Manager implementation.
      Overrides:
      getName in class PersistentManagerBase
      Returns:
      The descriptive short name of this Manager implementation.