org.apache.lucene.gdata.storage.lucenestorage.recover
Class RecoverController

java.lang.Object
  extended by org.apache.lucene.gdata.storage.lucenestorage.recover.RecoverController

public class RecoverController
extends Object

Author:
Simon Willnauer

Constructor Summary
RecoverController(File recoverDirectory, boolean recover, boolean keepRecoverFiles)
           
 
Method Summary
 void destroy()
           
 void initialize()
           
 boolean isRecovering()
           
 void recoverEntries(StorageModifier modifier)
           
 void storageModified(StorageEntryWrapper wrapper)
           
protected  void storeEntries(List<StorageEntryWrapper> entries, StorageModifier modifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecoverController

public RecoverController(File recoverDirectory,
                         boolean recover,
                         boolean keepRecoverFiles)
Parameters:
recoverDirectory -
recover -
keepRecoverFiles -
Method Detail

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.