public interface PluginRealmCache
Modifier and Type | Interface and Description |
---|---|
static class |
PluginRealmCache.CacheRecord |
static interface |
PluginRealmCache.Key
A cache key.
|
Modifier and Type | Method and Description |
---|---|
PluginRealmCache.Key |
createKey(Plugin plugin,
ClassLoader parentRealm,
Map<String,ClassLoader> foreignImports,
org.eclipse.aether.graph.DependencyFilter dependencyFilter,
List<org.eclipse.aether.repository.RemoteRepository> repositories,
org.eclipse.aether.RepositorySystemSession session) |
void |
flush() |
PluginRealmCache.CacheRecord |
get(PluginRealmCache.Key key) |
PluginRealmCache.CacheRecord |
put(PluginRealmCache.Key key,
ClassRealm pluginRealm,
List<Artifact> pluginArtifacts) |
void |
register(MavenProject project,
PluginRealmCache.Key key,
PluginRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
PluginRealmCache.Key createKey(Plugin plugin, ClassLoader parentRealm, Map<String,ClassLoader> foreignImports, org.eclipse.aether.graph.DependencyFilter dependencyFilter, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.RepositorySystemSession session)
PluginRealmCache.CacheRecord put(PluginRealmCache.Key key, ClassRealm pluginRealm, List<Artifact> pluginArtifacts)
void flush()
void register(MavenProject project, PluginRealmCache.Key key, PluginRealmCache.CacheRecord record)
project
- The project that employs the plugin realm, must not be null
.record
- The cache record being used for the project, must not be null
.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.