//COPYRIGHT (c) 2007-2010 FARSIGHT SYSTEMS CORPORATION - ALL RIGHTS RESERVED.
package com.farsight_systems.concurrent.cells;
/**
* The API for a call back notification that an extent was disconnected. This
* API is best used for an application getting control when a {@link CellPoolExtent}
* is automatically disconnected upon freeing the last allocated cell. The
* application can then recover resources that were associated with the extent.
*
* @author Jeffrey D. Smith
* @version 2010-MAY-08a JDS
* @version 2009-JAN-08 JDS
*/
public interface ExtentDisconnected
{
/**
* Notify the application that an extent was disconnected.
*<p/>
* This method is called with the cell pool read-write lock held, if any.
*
* @param theCellPool The CellPool from which the CellPoolExtent was disconnected.
* @param theCellPoolExtent The disconnected extent.
*/
public abstract void disconnected(CellPool theCellPool, CellPoolExtent theCellPoolExtent);
}
|