|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexBuilder
The interface that represents a index builder for the import process.
Method Summary | |
---|---|
void |
processEntry(Entry oldEntry,
Entry newEntry,
EntryID entryID)
Indicates that the index thread should process the provided entry. |
void |
startProcessing()
This method must be called before this object can process any entries. |
void |
stopProcessing()
Indicates that there will be no more updates. |
Method Detail |
---|
void startProcessing()
void processEntry(Entry oldEntry, Entry newEntry, EntryID entryID) throws com.sleepycat.je.DatabaseException, java.io.IOException, DirectoryException
oldEntry
- The existing contents of the entry, or null if this is
a new entry.newEntry
- The new contents of the entry.entryID
- The entry ID.
com.sleepycat.je.DatabaseException
- If an error occurs in the JE
database.
java.io.IOException
- If an I/O error occurs while writing an
intermediate file.
DirectoryException
- If an error occurs while processing the entry.void stopProcessing() throws java.io.IOException
java.io.IOException
- If an I/O error occurs while writing an intermediate
file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |