// Item not found in memory. If local invocation look in aux
// caches, even if not local look in disk auxiliaries
for ( int i = 0; i < auxCaches.length; i++ )
{
AuxiliaryCache aux = auxCaches[i];
if ( aux != null )
{
long cacheType = aux.getCacheType();
if ( ! localOnly || cacheType == aux.DISK_CACHE )
{
if ( log.isDebugEnabled() )
{
log.debug( "Attempting to get from aux: "
+ aux.getCacheName()
+ " which is of type: "
+ cacheType );
}
try
{
element = aux.get( key );
}
catch ( IOException ex )
{
log.error( "Error getting from aux", ex );
}