public class Cache extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Cache.CacheEntry |
| Constructor and Description |
|---|
Cache(boolean disabled,
boolean disabledForSnapshot,
File cacheFile) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Cache.CacheEntry> |
find(String gacv,
ResolutionOptions options) |
List<org.eclipse.aether.artifact.Artifact> |
get(String gacv,
ResolutionOptions resolutionOptions) |
void |
put(String gacv,
ResolutionOptions resolutionOptions,
List<org.eclipse.aether.artifact.Artifact> list) |
int |
size() |
void |
writeCacheOnFile() |
public Cache(boolean disabled,
boolean disabledForSnapshot,
File cacheFile)
public void writeCacheOnFile()
public List<org.eclipse.aether.artifact.Artifact> get(String gacv, ResolutionOptions resolutionOptions)
public void put(String gacv, ResolutionOptions resolutionOptions, List<org.eclipse.aether.artifact.Artifact> list)
public Optional<Cache.CacheEntry> find(String gacv, ResolutionOptions options)
public int size()
Copyright © 2016–2019. All rights reserved.