public interface InternalCacheRegistry
Modifier and Type | Interface and Description |
---|---|
static class |
InternalCacheRegistry.Flag |
Modifier and Type | Method and Description |
---|---|
void |
filterPrivateCaches(Set<String> names)
Removes the private caches from the specified set of cache names
|
Set<String> |
getInternalCacheNames()
Retrieves the names of all the internal caches
|
boolean |
internalCacheHasFlag(String name,
InternalCacheRegistry.Flag flag)
Returns whether a particular internal cache has a specific flag
|
boolean |
isInternalCache(String name)
Returns whether the cache is internal, i.e.
|
boolean |
isPrivateCache(String name)
Returns whether the cache is private, i.e.
|
void |
registerInternalCache(String name,
Configuration configuration)
Registers an internal cache.
|
void |
registerInternalCache(String name,
Configuration configuration,
EnumSet<InternalCacheRegistry.Flag> flags)
Registers an internal cache with the specified flags.
|
void |
unregisterInternalCache(String name)
Unregisters an internal cache
|
void registerInternalCache(String name, Configuration configuration)
name
- The name of the cacheconfiguration
- The configuration for the cachevoid registerInternalCache(String name, Configuration configuration, EnumSet<InternalCacheRegistry.Flag> flags)
name
- The name of the cacheconfiguration
- The configuration for the cacheflags
- The flags which determine the behaviour of the cache. See InternalCacheRegistry.Flag
void unregisterInternalCache(String name)
name
- The name of the cacheboolean isInternalCache(String name)
registerInternalCache(String, Configuration)
methodboolean isPrivateCache(String name)
#registerInternalCache(String, Configuration, EnumSet)
method without the
InternalCacheRegistry.Flag.USER
flagSet<String> getInternalCacheNames()
void filterPrivateCaches(Set<String> names)
boolean internalCacheHasFlag(String name, InternalCacheRegistry.Flag flag)
name
- the name of the internal cacheflag
- the flag to checkCopyright © 2021 JBoss by Red Hat. All rights reserved.