1 package com.loribel.commons.abstraction; 2 3 import java.util.*; 4 5 /*** 6 * Map to manage a cache 7 * 8 * @author Gregory Borelli 9 */ 10 public interface GB_MapListCache 11 { 12 List getFromCache( 13 Object a_key); 14 15 List putIntoCache( 16 Object a_key, 17 List a_value); 18 19 List addItemIntoCache( 20 Object a_key, 21 Object a_value); 22 23 void removeItemFromCache( 24 Object a_key, 25 Object a_value); 26 27 List removeFromCache( 28 Object a_key); 29 30 void clearCache(); 31 }