view src/org/dancres/blitz/entry/EntryReaper.java @ 17:46ac1a45718a

Add support for cache partitioning to improve concurrency.
author Dan Creswell <dan.creswell@gmail.com>
date Sun, 05 Jul 2009 16:25:18 +0100
parents 3dc0c5604566
children
line wrap: on
line source

package org.dancres.blitz.entry;

import java.io.IOException;

/**
   Invoked on by a LeaseTracker in response to a call to bringOutTheDead

   @see org.dancres.blitz.entry.LeaseTracker
 */
public interface EntryReaper {
    /**
       @param aLocator TupleLocator which will return a sequence of
       <code>UIDImpl</code>s for <code>EntrySleeve</code>s which are
       <em>likely</em> (not guarenteed, so the user should check explicitly
       using an appropriate timestamp
     */
    public void clean(TupleLocator aLocator) throws IOException;
}