private T cacheMiss(final NT nt){
  T resource=null;
  final AtomicReference<IIndexManager> foundOn=new AtomicReference<IIndexManager>();
  final Properties properties=locateResource(nt.getName(),nt.getTimestamp(),foundOn);
  if (properties == null) {
    if (delegate != null) {
      if (INFO) {
        log.info("Not found - passing to delegate: " + nt);
      }
      resource=delegate.locate(nt.getName(),nt.getTimestamp());
      if (resource != null) {
        if (INFO) {
          log.info("delegate answered: " + resource);
        }
        return resource;
      }
    }
    return null;
  }
  if (log.isDebugEnabled()) {
    log.debug(properties.toString());
  }
  final String className=properties.getProperty(RelationSchema.CLASS);
  if (className == null) {
    return null;
  }
  final Class<? extends T> cls;
  try {
    cls=(Class<? extends T>)Class.forName(className);
  }
 catch (  ClassNotFoundException e) {
    throw new RuntimeException(e);
  }
  if (log.isDebugEnabled()) {
    log.debug("Implementation class=" + cls.getName());
  }
  resource=newInstance(cls,foundOn.get(),nt,properties);
  return resource;
}

private T cacheMiss ( final NT nt ) { T resource = null ; final AtomicReference < IIndexManager > foundOn = new AtomicReference < IIndexManager > ( ) ; final Properties properties = locateResource ( nt . getName ( ) , nt . getTimestamp ( ) , foundOn ) ; if ( properties == null ) { if ( delegate != null ) { if ( INFO ) { log . info ( "Not found - passing to delegate: " + nt ) ; } resource = delegate . locate ( nt . getName ( ) , nt . getTimestamp ( ) ) ; if ( resource != null ) { if ( INFO ) { log . info ( "delegate answered: " + resource ) ; } return resource ; } } return null ; } if ( log . isDebugEnabled ( ) ) { log . debug ( properties . toString ( ) ) ; } final String className = properties . getProperty ( RelationSchema . CLASS ) ; if ( className == null ) { return null ; } final Class < ? extends T > cls ; try { cls = ( Class < ? extends T > ) Class . forName ( className ) ; } catch ( ClassNotFoundException e ) { throw new RuntimeException ( e ) ; } if ( log . isDebugEnabled ( ) ) { log . debug ( "Implementation class=" + cls . getName ( ) ) ; } resource = newInstance ( cls , foundOn . get ( ) , nt , properties ) ; return resource ; }
handle a cache miss .
