com.bigdata.btree
Interface IEvictionListener

All Superinterfaces:
HardReferenceQueueEvictionListener<PO>
All Known Implementing Classes:
DefaultEvictionListener, DefaultEvictionListener, NOPEvictionListener

public interface IEvictionListener
extends HardReferenceQueueEvictionListener<PO>

Interface to handle evictions of nodes or leaves from the hard reference queue. The listener is responsible for decrementing the AbstractNode.referenceCount and must write a dirty node or leaf onto the store when their reference counter reaches zero(0).

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

Method Summary
 void evicted(IHardReferenceQueue<PO> cache, PO ref)
          Notice that a reference is being evicted from the cache.
 

Method Detail

evicted

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 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.