1 /* Copyright (C) 2005-2011 Fabio Riccardi */ 2 3 package com.lightcrafts.jai.utils; 4 5 /** 6 * A listener to discover when JAI has invoked LCTileCache.flush(). This 7 * method is only called from within JAI to handle an OutOfMemoryError, and 8 * so provides an indirect indication that the image processing pipeline has 9 * run out of Java heap space. 10 */ 11 public interface LCTileCacheListener { 12 tileCacheFlushed()13 void tileCacheFlushed(); 14 } 15