1 /* 2 * Copyright (c) 2005, the JUNG Project and the Regents of the University of 3 * California All rights reserved. 4 * 5 * This software is open-source under the BSD license; see either "license.txt" 6 * or http://jung.sourceforge.net/license.txt for a description. 7 * 8 * 9 */ 10 package edu.uci.ics.jung.visualization.util; 11 12 /** 13 * Interface to provide external controls to an 14 * implementing class that manages a cache. 15 * @author Tom Nelson - tomnelson@dev.java.net 16 * 17 */ 18 public interface Caching { 19 20 /** 21 * ititialize resources for a cache 22 * 23 */ 24 void init(); 25 26 /** 27 * clear cache 28 * 29 */ 30 void clear(); 31 32 }