Class RemoteCacheMonitor

All Implemented Interfaces:
Runnable

Used to monitor and repair any failed connection for the remote 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. TODO consider moving this into an active monitoring mode. 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.