Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/entry/SearchOffer.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 org.dancres.blitz.mangler.MangledEntry; | |
4 | |
5 /** | |
6 Whenever the filesystem locates an Entry suitable for a specified search, | |
7 it offers it to the specified SearchVisitor using an instance of this | |
8 object. <P> | |
9 | |
10 The SearchVisitor can use the available information to determine whether | |
11 the Entry is a suitable match from it's perspective which includes doing | |
12 a deep match, checking expiry, txn locks etc. If the SearchVisitor is | |
13 happy, it accepts the offer and saves the OpInfo into the log and commits | |
14 or aborts later. <P> | |
15 */ | |
16 public interface SearchOffer { | |
17 public MangledEntry getEntry(); | |
18 | |
19 public OpInfo getInfo(); | |
20 } |