ncsa.tools.trebuchet.core.cache
Class ListCache
java.lang.Object
ncsa.tools.trebuchet.core.cache.OperationCache
ncsa.tools.trebuchet.core.cache.ListCache
- Direct Known Subclasses:
- IndexedListCache
- public class ListCache
- extends OperationCache
| Methods inherited from class ncsa.tools.trebuchet.core.cache.OperationCache |
addEntry, addListener, close, currentEntry, delete, getCacheFile, getCacheId, getEntry, getHeader, getNextEntry, getPreviousEntry, markOperationDone, open, print, removeListener, reset, reset, resetToEnd, resetToLastEntry, resetToNthEntry, scanningDirectory, setBufferSize, storeConfiguration, update |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListCache
public ListCache(CacheHeader connection,
java.lang.String id)
throws java.io.IOException
ListCache
public ListCache(java.io.File cacheFile,
boolean readOnly)
throws java.io.IOException
getReadOnlyInstance
public OperationCache getReadOnlyInstance()
throws java.io.IOException
- Specified by:
getReadOnlyInstance in class OperationCache
- Throws:
java.io.IOException
getRecaptureExcludes
public java.lang.String[] getRecaptureExcludes()
throws java.io.IOException
- Returns:
- A list of excludes to be used in a recapture list operation.
- Throws:
java.io.IOException
markScanCompleted
public void markScanCompleted()
throws java.io.IOException
- Sets the cache header state to SCAN_COMPLETE.
- Throws:
java.io.IOException