001 /* 002 @license.text@ 003 */ 004 package biz.hammurapi.cache; 005 006 /** 007 * Producer which supports addition of values and returns keys corresponding to the values. 008 * @author Pavel Vlasov 009 * @revision $Revision$ 010 */ 011 public interface AppendableProducer extends Producer { 012 013 /** 014 * Adds value to producer. 015 * @param value 016 * @return key for the value. 017 */ 018 Object add(Object value); 019 }