org.ehcache.core.events
Interface StateChangeListener
- All Known Subinterfaces:
- CacheManagerListener
- All Known Implementing Classes:
- DefaultCollectorService, DefaultManagementRegistryService
public interface StateChangeListener
Interface for listeners interested in CacheManager state transitions.
stateTransition
void stateTransition(Status from,
Status to)
- Is notified when a state transition occurred.
Any exception thrown by this listener will not affect the transition.
- Parameters:
from - previous stateto - new state