public interface ExtensionRealmCache
Modifier and Type | Interface and Description |
---|---|
static class |
ExtensionRealmCache.CacheRecord |
static interface |
ExtensionRealmCache.Key
A cache key.
|
Modifier and Type | Method and Description |
---|---|
ExtensionRealmCache.Key |
createKey(List<? extends Artifact> extensionArtifacts) |
void |
flush() |
ExtensionRealmCache.CacheRecord |
get(ExtensionRealmCache.Key key) |
ExtensionRealmCache.CacheRecord |
put(ExtensionRealmCache.Key key,
ClassRealm extensionRealm,
ExtensionDescriptor extensionDescriptor) |
void |
register(MavenProject project,
ExtensionRealmCache.Key key,
ExtensionRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
ExtensionRealmCache.Key createKey(List<? extends Artifact> extensionArtifacts)
ExtensionRealmCache.CacheRecord put(ExtensionRealmCache.Key key, ClassRealm extensionRealm, ExtensionDescriptor extensionDescriptor)
void flush()
void register(MavenProject project, ExtensionRealmCache.Key key, ExtensionRealmCache.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.