org.terracotta.cache.evictor
Interface EvictionListener

All Known Implementing Classes:
NullEvictionListener, OrphanEvictionListener

public interface EvictionListener

Methods are callbacks fired during the eviction thread lifecycle.


Method Summary
 void endLocalEviction()
          This is called after each local eviction.
 void onShutdown()
          Hook for eviction thread shutdown
 void startLocalEviction()
          This is called before every local eviction cycle.
 

Method Detail

startLocalEviction

void startLocalEviction()
This is called before every local eviction cycle.


endLocalEviction

void endLocalEviction()
This is called after each local eviction.


onShutdown

void onShutdown()
Hook for eviction thread shutdown



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