private DefaultModelCache( RepositorySystemSession session ) { this.session = session; this.cache = session.getCache(); }
public static ModelCache newInstance( RepositorySystemSession session ) { if ( session.getCache() == null ) { return null; } else { return new DefaultModelCache( session ); } }
RepositoryCache cache = session.getCache(); if ( cache != null && !ConfigUtils.getBoolean( session, false, "aether.versionResolver.noCache" ) )
private DefaultModelCache( RepositorySystemSession session ) { this.session = session; this.cache = session.getCache(); }
@Override public RepositoryCache getCache() { return delegate.getCache(); } }
private DefaultModelCache( RepositorySystemSession session ) { this.session = session; this.cache = session.getCache(); }
private DefaultModelCache( RepositorySystemSession session ) { this.session = session; this.cache = session.getCache(); }
private DefaultModelCache( RepositorySystemSession session ) { this.session = session; this.cache = session.getCache(); }
@Override public RepositoryCache getCache() { return delegate.getCache(); } }
private DefaultModelCache(RepositorySystemSession session) { this.session = session; this.cache = session.getCache(); }
@Override public RepositoryCache getCache() { return delegate.getCache(); } }
@Override public RepositoryCache getCache() { return delegate.getCache(); }
public static ModelCache newInstance( RepositorySystemSession session ) { if ( session.getCache() == null ) { return null; } else { return new DefaultModelCache( session ); } }
@Override public RepositoryCache getCache() { return getSession().getCache(); }
public static ModelCache newInstance( RepositorySystemSession session ) { if ( session.getCache() == null ) { return null; } else { return new DefaultModelCache( session ); } }
public RepositoryCache getCache() { return getSession().getCache(); }
public static ModelCache newInstance( RepositorySystemSession session ) { if ( session.getCache() == null ) { return null; } else { return new DefaultModelCache( session ); } }
public static ModelCache newInstance(RepositorySystemSession session) { if (session.getCache() == null) { return null; } else { return new DefaultModelCache(session); } }
public static ModelCache newInstance( RepositorySystemSession session ) { if ( session.getCache() == null ) { return null; } else { return new DefaultModelCache( session ); } }
private void logMirror( RepositorySystemSession session, RemoteRepository original, RemoteRepository mirror ) { if ( !LOGGER.isDebugEnabled() ) { return; } RepositoryCache cache = session.getCache(); if ( cache != null ) { Object key = new LoggedMirror( original, mirror ); if ( cache.get( session, key ) != null ) { return; } cache.put( session, key, Boolean.TRUE ); } LOGGER.debug( "Using mirror {} ({}) for {} ({}).", mirror.getId(), mirror.getUrl(), original.getId(), original.getUrl() ); }