public class Configuration.RuntimeCfg extends Object implements PropertyChangeListener
Constructor and Description |
---|
RuntimeCfg(CacheManager cacheManager,
String fallbackName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsDynamicCacheConfig() |
String |
getCacheManagerName() |
Configuration |
getConfiguration() |
TransactionManagerLookup |
getTransactionManagerLookup() |
boolean |
hasOffHeapPool()
Checks whether the CacheManager uses a OffHeapPool
|
boolean |
isNamed() |
boolean |
isTerracottaRejoin() |
void |
propertyChange(PropertyChangeEvent evt)
Handles changes to the Configuration this RuntimeCfg backs
|
void |
removeCache(CacheConfiguration cacheConfiguration)
Removes a cache from the known list
|
public RuntimeCfg(CacheManager cacheManager, String fallbackName)
cacheManager
- the cacheManager instance using this configfallbackName
- the fallbackName in case the configuration doesn't declare an explicit namepublic String getCacheManagerName()
public boolean allowsDynamicCacheConfig()
public boolean isNamed()
public Configuration getConfiguration()
public boolean isTerracottaRejoin()
public TransactionManagerLookup getTransactionManagerLookup()
public void removeCache(CacheConfiguration cacheConfiguration)
cacheConfiguration
- the cacheConfiguration to be removedpublic void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
evt
- the PropertyChangeEventpublic boolean hasOffHeapPool()
Copyright 2001-2021, Terracotta, Inc.