Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/entry/LongtermOffer.java @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 package org.dancres.blitz.entry; | |
2 | |
3 import java.io.IOException; | |
4 | |
5 import org.dancres.blitz.oid.OID; | |
6 | |
7 /** | |
8 * In cases where one wishes to repeatedly offer the same entry to a | |
9 * SearchVisitor, a LongtermOffer can signficiantly reduce overhead and | |
10 * improve cache utilization. | |
11 */ | |
12 public interface LongtermOffer { | |
13 /** | |
14 * @return the type of the entry this offer is associated with | |
15 */ | |
16 public String getEntryType(); | |
17 public boolean offer(SearchVisitor aVisitor) throws IOException; | |
18 public void release() throws IOException; | |
19 public OID getOID(); | |
20 } |