Class LateralCacheMonitor

java.lang.Object
java.lang.Thread
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheMonitor
org.apache.commons.jcs3.auxiliary.lateral.LateralCacheMonitor
All Implemented Interfaces:
Runnable

Used to monitor and repair any failed connection for the lateral cache service. By default the monitor operates in a failure driven mode. That is, it goes into a wait state until there is an error. Upon the notification of a connection error, the monitor changes to operate in a time driven mode. That is, it attempts to recover the connections on a periodic basis. When all failed connections are restored, it changes back to the failure driven mode.
  • Constructor Details

    • LateralCacheMonitor

      Constructor for the LateralCacheMonitor object

      It's the clients responsibility to decide how many of these there will be.

      Parameters:
      factory - a reference to the factory that manages the service instances
  • Method Details