package brn.util;

/**
 * Interface for objects which are poolable.
 *  
 * @author kurth
 */
public interface PoolableObject extends Cloneable
{
  /**
   * Called when created/taken from pool.
   */
  void init();
  
  /**
   * Called when returned to pool.
   */
  void returned();
  
//  /**
//   * Called by the pool to create an object.
//   * 
//   * @return a new instance of this class.
//   */
//  Object clone();
}
