// Monitor each LateralCacheManager instance one after the other.
// Each LateralCacheManager corresponds to one lateral connection.
for ( Iterator itr = LateralCacheManager.instances.values().iterator(); itr.hasNext(); )
{
LateralCacheManager mgr = ( LateralCacheManager ) itr.next();
try
{
// If any cache is in error, it strongly suggests all caches managed by the
// same LateralCacheManager instance are in error. So we fix them once and for all.
for ( Iterator itr2 = mgr.caches.values().iterator(); itr2.hasNext(); )