public class InternalCacheRegistryImpl extends Object implements InternalCacheRegistry
InternalCacheRegistry.Flag| Constructor and Description |
|---|
InternalCacheRegistryImpl() |
| 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
|
void |
init(EmbeddedCacheManager cacheManager) |
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.
|
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 |
stop() |
public void init(EmbeddedCacheManager cacheManager)
public void stop()
public void registerInternalCache(String name, Configuration configuration)
InternalCacheRegistryregisterInternalCache in interface InternalCacheRegistryname - The name of the cacheconfiguration - The configuration for the cachepublic void registerInternalCache(String name, Configuration configuration, EnumSet<InternalCacheRegistry.Flag> flags)
InternalCacheRegistryregisterInternalCache in interface InternalCacheRegistryname - The name of the cacheconfiguration - The configuration for the cacheflags - The flags which determine the behaviour of the cache. See InternalCacheRegistry.Flagpublic boolean isInternalCache(String name)
InternalCacheRegistryInternalCacheRegistry.registerInternalCache(String, Configuration) methodisInternalCache in interface InternalCacheRegistrypublic Set<String> getInternalCacheNames()
InternalCacheRegistrygetInternalCacheNames in interface InternalCacheRegistrypublic void filterPrivateCaches(Set<String> names)
InternalCacheRegistryfilterPrivateCaches in interface InternalCacheRegistrypublic boolean internalCacheHasFlag(String name, InternalCacheRegistry.Flag flag)
InternalCacheRegistryinternalCacheHasFlag in interface InternalCacheRegistryname - the name of the internal cacheflag - the flag to checkCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.