@Component(role=PluginDescriptorCache.class) public class DefaultPluginDescriptorCache extends Object implements PluginDescriptorCache
PluginDescriptorCache.Key
Constructor and Description |
---|
DefaultPluginDescriptorCache() |
Modifier and Type | Method and Description |
---|---|
protected static PluginDescriptor |
clone(PluginDescriptor original) |
PluginDescriptorCache.Key |
createKey(Plugin plugin,
List<org.eclipse.aether.repository.RemoteRepository> repositories,
org.eclipse.aether.RepositorySystemSession session) |
void |
flush() |
PluginDescriptor |
get(PluginDescriptorCache.Key cacheKey) |
void |
put(PluginDescriptorCache.Key cacheKey,
PluginDescriptor pluginDescriptor) |
public DefaultPluginDescriptorCache()
public void flush()
flush
in interface PluginDescriptorCache
public PluginDescriptorCache.Key createKey(Plugin plugin, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.RepositorySystemSession session)
createKey
in interface PluginDescriptorCache
public PluginDescriptor get(PluginDescriptorCache.Key cacheKey)
get
in interface PluginDescriptorCache
public void put(PluginDescriptorCache.Key cacheKey, PluginDescriptor pluginDescriptor)
put
in interface PluginDescriptorCache
protected static PluginDescriptor clone(PluginDescriptor original)
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.