org.ehcache.core
Class CacheConfigurationChangeEvent

java.lang.Object
  extended by org.ehcache.core.CacheConfigurationChangeEvent

public class CacheConfigurationChangeEvent
extends java.lang.Object

Class representing a configuration change on a live cache.


Constructor Summary
CacheConfigurationChangeEvent(CacheConfigurationProperty property, java.lang.Object oldValue, java.lang.Object newValue)
          Creates a new configuration change event based on the provided parameters.
 
Method Summary
 java.lang.Object getNewValue()
          Gets the new value of the property.
 java.lang.Object getOldValue()
          Gets the old value of the property.
 CacheConfigurationProperty getProperty()
          Indicates the property this event concerns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheConfigurationChangeEvent

public CacheConfigurationChangeEvent(CacheConfigurationProperty property,
                                     java.lang.Object oldValue,
                                     java.lang.Object newValue)
Creates a new configuration change event based on the provided parameters.

Parameters:
property - the property changing
oldValue - the old value
newValue - the new value
Method Detail

getProperty

public CacheConfigurationProperty getProperty()
Indicates the property this event concerns

Returns:
the changing property

getNewValue

public java.lang.Object getNewValue()
Gets the new value of the property.

Returns:
the new value

getOldValue

public java.lang.Object getOldValue()
Gets the old value of the property.

Returns:
the old value