org.terracotta.cache.logging
Class TCLoggerConfigChangeListener
java.lang.Object
org.terracotta.cache.logging.TCLoggerConfigChangeListener
- All Implemented Interfaces:
- ConfigChangeListener
public class TCLoggerConfigChangeListener
- extends Object
- implements ConfigChangeListener
Logging cache configuration change listener.
This configuration change listener logs changes any attached cache
configuration to the Terracotta logs.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCLoggerConfigChangeListener
public TCLoggerConfigChangeListener()
configChanged
public void configChanged(String cacheName,
String configName,
Object oldValue,
Object newValue)
- Description copied from interface:
ConfigChangeListener
- Called to indicate a change in a cache configuration.
- Specified by:
configChanged in interface ConfigChangeListener
- Parameters:
cacheName - name of the cache that changedconfigName - name of the configuration variable that changedoldValue - previous value of the configuration variablenewValue - new value of the configuration variable
Copyright © 2015 Terracotta, Inc.. All Rights Reserved.