public interface ProjectRealmCache
Modifier and Type | Interface and Description |
---|---|
static class |
ProjectRealmCache.CacheRecord
CacheRecord
|
static interface |
ProjectRealmCache.Key
A cache key.
|
Modifier and Type | Method and Description |
---|---|
ProjectRealmCache.Key |
createKey(List<? extends ClassRealm> extensionRealms) |
void |
flush() |
ProjectRealmCache.CacheRecord |
get(ProjectRealmCache.Key key) |
ProjectRealmCache.CacheRecord |
put(ProjectRealmCache.Key key,
ClassRealm projectRealm,
DependencyFilter extensionArtifactFilter) |
void |
register(MavenProject project,
ProjectRealmCache.Key key,
ProjectRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
ProjectRealmCache.Key createKey(List<? extends ClassRealm> extensionRealms)
ProjectRealmCache.CacheRecord get(ProjectRealmCache.Key key)
ProjectRealmCache.CacheRecord put(ProjectRealmCache.Key key, ClassRealm projectRealm, DependencyFilter extensionArtifactFilter)
void flush()
void register(MavenProject project, ProjectRealmCache.Key key, ProjectRealmCache.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–2019 The Apache Software Foundation. All rights reserved.