// same LateralCacheManager instance are in error. So we fix them once and for all.
for ( Iterator itr2 = mgr.caches.values().iterator(); itr2.hasNext(); )
{
if ( itr2.hasNext() )
{
LateralCacheNoWait c = ( LateralCacheNoWait ) itr2.next();
if ( c.getStatus() == c.STATUS_ERROR )
{
log.debug( "found LateralCacheNoWait in error" );
LateralCacheRestore repairer = new LateralCacheRestore( mgr );
// If we can't fix them, just skip and re-try in the next round.