Package com.coyotegulch.jisp
Interface ObjectDatabaseCallback
-
public interface ObjectDatabaseCallback
An interface to be implemented by objects that wish to be notified of record movements during the compaction of anObjectDatabaseFile
. You supply an implementor of this interface when invoking theObjectDatabaseFile.commit
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
compactNotify(long position, java.lang.Object obj)
A function called when an object is rewritten to the compacted files.
-
-
-
Method Detail
-
compactNotify
void compactNotify(long position, java.lang.Object obj)
A function called when an object is rewritten to the compacted files. In general, this function will reindex objects based on their new locations in a file.- Parameters:
position
- New file position forobj
obj
- Object being moved- See Also:
ObjectDatabaseFile
-
-