org.terracotta.cache.evictor
Class NullEvictionListener

java.lang.Object
  extended by org.terracotta.cache.evictor.NullEvictionListener
All Implemented Interfaces:
EvictionListener

public class NullEvictionListener
extends Object
implements EvictionListener

A null listener that does not do orphan eviction and can be used in a non-Terracotta environment. All methods do nothing.


Constructor Summary
NullEvictionListener()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullEvictionListener

public NullEvictionListener()
Method Detail

endLocalEviction

public void endLocalEviction()
Description copied from interface: EvictionListener
This is called after each local eviction.

Specified by:
endLocalEviction in interface EvictionListener

onShutdown

public void onShutdown()
Description copied from interface: EvictionListener
Hook for eviction thread shutdown

Specified by:
onShutdown in interface EvictionListener

startLocalEviction

public void startLocalEviction()
Description copied from interface: EvictionListener
This is called before every local eviction cycle.

Specified by:
startLocalEviction in interface EvictionListener


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