org.apache.lucene.gdata.storage.lucenestorage.recover
Class RecoverController
java.lang.Object
org.apache.lucene.gdata.storage.lucenestorage.recover.RecoverController
public class RecoverController
- extends Object
- Author:
- Simon Willnauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecoverController
public RecoverController(File recoverDirectory,
boolean recover,
boolean keepRecoverFiles)
- Parameters:
recoverDirectory
- recover
- keepRecoverFiles
-
storageModified
public void storageModified(StorageEntryWrapper wrapper)
throws RecoverException
- Parameters:
wrapper
-
- Throws:
RecoverException
recoverEntries
public void recoverEntries(StorageModifier modifier)
- Parameters:
modifier
-
storeEntries
protected void storeEntries(List<StorageEntryWrapper> entries,
StorageModifier modifier)
throws StorageException,
IOException
- Throws:
StorageException
IOException
initialize
public void initialize()
throws IOException
- Throws:
IOException
destroy
public void destroy()
throws RecoverException
- Throws:
RecoverException
isRecovering
public boolean isRecovering()
- Returns:
true
if the RecoverController is initialized in recover mode, otherwise false
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.