com.bigdata.btree
Class DefaultEvictionListener

java.lang.Object
  extended by com.bigdata.btree.DefaultEvictionListener
All Implemented Interfaces:
IEvictionListener, HardReferenceQueueEvictionListener<PO>

public class DefaultEvictionListener
extends Object
implements IEvictionListener

Hard reference cache eviction listener writes a dirty node or leaf onto the persistence store.

Version:
$Id: DefaultEvictionListener.java 2547 2010-03-24 20:44:07Z thompsonbry $
Author:
Bryan Thompson

Constructor Summary
DefaultEvictionListener()
           
 
Method Summary
 void evicted(IHardReferenceQueue<PO> cache, PO ref)
          Notice that a reference is being evicted from the cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEvictionListener

public DefaultEvictionListener()
Method Detail

evicted

public void evicted(IHardReferenceQueue<PO> cache,
                    PO ref)
Description copied from interface: HardReferenceQueueEvictionListener
Notice that a reference is being evicted from the cache. This notice does NOT imply that the cache no longer holds a reference to this object, neither does it imply that the object is dirty.

Specified by:
evicted in interface IEvictionListener
Specified by:
evicted in interface HardReferenceQueueEvictionListener<PO>
Parameters:
cache - The cache on which the listener is registered.
ref - The reference that is being evicted from the cache.


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.