The persistence feature
is used to save and recover Coherence distributed caches. Cached data is
persisted so that it can be quickly recovered after a catastrophic failure
or after a cluster restart due to planned maintenance.
Persistence can operate in two modes:
- On-Demand persistence mode – a cache service is manually persisted and
recovered upon request using the persistence coordinator. The persistence
coordinator is exposed as an MBean interface that provides operations for creating,
archiving, and recovering snapshots of a cache service.
- Active persistence mode – In this mode, cache contents are automatically persisted
on all mutations and are automatically recovered on cluster/service startup. The
persistence coordinator can still be used in active persistence mode to perform on-demand
To configure persistence: