org.terracotta.cache.logging
Class TCLoggerConfigChangeListener

java.lang.Object
  extended by 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.


Constructor Summary
TCLoggerConfigChangeListener()
           
 
Method Summary
 void configChanged(String cacheName, String configName, Object oldValue, Object newValue)
          Called to indicate a change in a cache configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCLoggerConfigChangeListener

public TCLoggerConfigChangeListener()
Method Detail

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 changed
configName - name of the configuration variable that changed
oldValue - previous value of the configuration variable
newValue - new value of the configuration variable


Copyright © 2015 Terracotta, Inc.. All Rights Reserved.