org.wdssii.core
Class XMLIndex
java.lang.Object
org.wdssii.core.Index
org.wdssii.core.XMLIndex
public class XMLIndex
- extends Index
- Author:
- jianting.zhang, lakshman
Field Summary |
private boolean |
initComplete
|
private static org.apache.commons.logging.Log |
log
|
Methods inherited from class org.wdssii.core.Index |
addRecByTypeTime, addRecord, addRecordListener, getDataTypes, getFirstRecordByTime, getIndexLocation, getLastRecordByTime, getNextSelection, getNextSelection, getRecord, getRecord, getRecordsByTypeTime, numRecordsByTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.commons.logging.Log log
initComplete
private boolean initComplete
XMLIndex
public XMLIndex()
- meant for prototype factory use only.
XMLIndex
public XMLIndex(File path,
Set<IndexRecordListener> listeners)
throws DataUnavailableException
- Throws:
DataUnavailableException
newInstance
public Index newInstance(String path,
Set<IndexRecordListener> listeners)
throws DataUnavailableException
- Description copied from class:
Index
- Create a brand-new Index with these listeners attached.
- Specified by:
newInstance
in class Index
- Throws:
DataUnavailableException
update
public void update()
- Description copied from class:
Index
- The update() method will be called periodically. The implementation is
allowed to ignore update() calls that happen at inconvenient times.
- Specified by:
update
in class Index