CacheManagers, identified by URIs and scoped by
ClassLoaders.
The meaning and semantics of the URI used to identify a
CacheManager is implementation dependent. For applications to remain
implementation independent, they should avoid attempting to create URIs
and instead use those returned by getDefaultURI().
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Redeclares java. CacheManager instances and associated resources
created and maintained by the CachingProvider across all
ClassLoaders.
|
| public void | close(ClassLoader
the classLoader)ClassLoader to releaseCloses all |
| public void | close(URI
the uri, ClassLoader URI to releasethe classLoader)ClassLoader to releaseCloses all |
| public CacheManager | getCacheManager(URI
an implementation specific URI for the
uri, ClassLoader classLoader, Properties CacheManager (null means use
getDefaultURI())the properties)Properties for the CachingProvider
to create the CacheManager (null means no
implementation specific Properties are required)Requests a |
| public CacheManager | getCacheManager(URI uri, ClassLoader classLoader)
Requests a |
| public CacheManager | getCacheManager()
Requests a |
| public ClassLoader | |
| public Properties | |
| public URI | |
| public boolean | Returns: true if the feature is supportedthe feature to check for optionalFeature)Determines whether an optional feature is supported by the
|
| close | back to summary |
|---|---|
| public void close() Redeclares java. Closes all of the
After closing the
| |
| close | back to summary |
|---|---|
| public void close(ClassLoader classLoader) Closes all
After closing the
| |
| close | back to summary |
|---|---|
| public void close(URI uri, ClassLoader classLoader) Closes all
| |
| getCacheManager | back to summary |
|---|---|
| public CacheManager getCacheManager(URI uri, ClassLoader classLoader, Properties properties) Requests a
Multiple calls to this method with the same
Properties are used in construction of a
Properties names follow the same scheme as package names.
The prefixes
| |
| getCacheManager | back to summary |
|---|---|
| public CacheManager getCacheManager(URI uri, ClassLoader classLoader) Requests a
Multiple calls to this method with the same
| |
| getCacheManager | back to summary |
|---|---|
| public CacheManager getCacheManager() Requests a
Multiple calls to this method must return the same
| |
| getDefaultClassLoader | back to summary |
|---|---|
| public ClassLoader getDefaultClassLoader() Obtains the default
| |
| getDefaultProperties | back to summary |
|---|---|
| public Properties getDefaultProperties() Obtains the default
Use this method to obtain suitable
| |
| getDefaultURI | back to summary |
|---|---|
| public URI getDefaultURI() Obtains the default
Use this method to obtain a suitable
| |
| isSupported | back to summary |
|---|---|
| public boolean isSupported(OptionalFeature optionalFeature) Determines whether an optional feature is supported by the
| |