1 23 24 package org.objectweb.medor.eval.prefetch.api; 25 26 import org.objectweb.medor.api.MedorException; 27 import org.objectweb.medor.tuple.api.Tuple; 28 import org.objectweb.medor.tuple.api.TupleCollection; 29 30 35 public interface PrefetchCache { 36 48 Tuple getPrefetchTuple(Object index, Object cat, Object ctxt) 49 throws MedorException; 50 51 54 TupleCollection getPrefetchTupleCollection(Object index, Object cat, Object ctxt) 55 throws MedorException; 56 57 62 void invalidatePrefetchBuffer(Object ctxt); 63 64 75 PrefetchBuffer createPrefetchBuffer(PrefetchBufferFactory pbf, 76 Object cat, 77 Object ctxt, 78 int indexpos, 79 boolean register) 80 throws MedorException; 81 92 PrefetchBuffer createPrefetchBuffer(PrefetchBufferFactory pbf, 93 Object cat, 94 Object ctxt, 95 int indexpos, 96 boolean multithread, 97 boolean register) 98 throws MedorException; 99 100 108 boolean registerPrefetchBuffer(PrefetchBuffer pb, 109 Object cat, 110 Object ctxt) 111 throws MedorException; 112 } 113 | Popular Tags |