org.castor.cache.hashbelt.reaper

Class NullReaper

Implemented Interfaces:
Reaper

public final class NullReaper
extends AbstractReaper

The simplest of all possible expiration handlers. It does nothing.

Having said that, here's what happens when we do nothing:

  1. The hashbelt loses a reference to the object.
  2. Garbage collection has a chance to work.

The point is that, even when we do nothing, the hashbelt changes.

Version:
$Revision: 6230 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Gregory Block
Since:
1.0

Method Summary

void
handleExpiredContainer(Container expiredContainer)

Methods inherited from class org.castor.cache.hashbelt.reaper.AbstractReaper

getCache, setCache

Method Details

handleExpiredContainer

public void handleExpiredContainer(Container expiredContainer)
Specified by:
handleExpiredContainer in interface Reaper

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com