if ( !isAlive )
{
return null;
}
ICacheElement obj = null;
try
{
obj = ( ICacheElement ) database.read( new JISPKey( key ), index1 );
}
catch ( Exception e )
{
log.error( e );
}
if ( obj == null )
{
return null;
}
if ( log.isDebugEnabled() )
{
log.debug( " " + key + ", val = " + obj.getVal() );
}
if ( container )
{
return ( Serializable ) obj;
}
return obj.getVal();
}