1 package org.jboss.remoting; 2 3 import java.io.IOException ; 4 import java.io.Serializable ; 5 import java.util.Map ; 6 7 10 public interface SerializableStore 11 { 12 17 int size(); 18 19 28 Object getNext() throws IOException ; 29 30 38 void add(Serializable object) throws IOException ; 39 40 45 void setConfig(Map config); 46 47 54 void start() throws Exception ; 55 56 61 void stop(); 62 63 68 void create() throws Exception ; 69 70 73 void destroy(); 74 75 80 void setPurgeOnShutdown(boolean purgeOnShutdown); 81 82 87 boolean getPurgeOnShutdown(); 88 89 void purgeFiles(); 90 } 91 | Popular Tags |