Developing Apama Applications > Developing Apama Applications in EPL > Using Correlator Persistence > When non-persistent monitors are useful
When non-persistent monitors are useful
A correlator that is running with persistence enabled can have persistent and non-persistent monitors injected. Non-persistence is a good choice for a monitor that does one or more of the following:
*Uses legacy code that does not use the persistence feature. See Designing applications for persistence-enabled correlators.
*Interacts with user-defined correlator plug-ins or Apama correlator plug-ins other than the Time Format or MemoryStore plug-ins.
*Contains large amounts of fast-changing state that is undesirable to persist for performance reasons.
*Operates as a stateless utility that just responds to incoming events.
*Contains minimal state that can be reconstructed by the onBeginRecovery() action on a persistent monitor.
Also, all Java monitors are non-persistent monitors.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.