org.alfresco.repo.search.impl.lucene
Class AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupJob

java.lang.Object
  extended by org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupJob
All Implemented Interfaces:
org.quartz.Job
Enclosing class:
AbstractLuceneIndexerAndSearcherFactory

public static class AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupJob
extends java.lang.Object
implements org.quartz.Job

Job that lock uses the AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupComponent to perform safe backups of the Lucene indexes.


Field Summary
static java.lang.String KEY_LUCENE_INDEX_BACKUP_COMPONENT
          KEY_LUCENE_INDEX_BACKUP_COMPONENT = 'luceneIndexBackupComponent'
 
Constructor Summary
AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
          Locks the Lucene indexes and copies them to a backup location
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_LUCENE_INDEX_BACKUP_COMPONENT

public static final java.lang.String KEY_LUCENE_INDEX_BACKUP_COMPONENT
KEY_LUCENE_INDEX_BACKUP_COMPONENT = 'luceneIndexBackupComponent'

See Also:
Constant Field Values
Constructor Detail

AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupJob

public AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupJob()
Method Detail

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Locks the Lucene indexes and copies them to a backup location

Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.