1 14 15 package org.apache.activemq.kaha.impl.index; 16 17 import java.io.IOException ; 18 import org.apache.activemq.kaha.Marshaller; 19 import org.apache.activemq.kaha.StoreEntry; 20 21 26 public interface Index{ 27 28 33 public void clear() throws IOException ; 34 35 40 public boolean containsKey(Object key) throws IOException ; 41 42 49 public StoreEntry remove(Object key) throws IOException ; 50 51 58 public void store(Object key,StoreEntry entry) throws IOException ; 59 60 61 66 public StoreEntry get(Object key) throws IOException ; 67 68 71 public boolean isTransient(); 72 73 76 public void load(); 77 78 82 public void unload() throws IOException ; 83 84 85 86 90 public void setKeyMarshaller(Marshaller marshaller); 91 } 92 | Popular Tags |