org.alfresco.repo.node.index
Class IndexRecoveryJob

java.lang.Object
  extended by org.alfresco.repo.node.index.IndexRecoveryJob
All Implemented Interfaces:
org.quartz.Job

public class IndexRecoveryJob
extends java.lang.Object
implements org.quartz.Job

Forces a index recovery using the recovery component passed in via the job detail.

Nothing is done if the cluster name property alfresco.cluster.name has not been set.


Field Summary
static java.lang.String KEY_CLUSTER_NAME
           
static java.lang.String KEY_INDEX_RECOVERY_COMPONENT
           
 
Constructor Summary
IndexRecoveryJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
          Forces a full index recovery using the recovery component passed in via the job detail.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_INDEX_RECOVERY_COMPONENT

public static final java.lang.String KEY_INDEX_RECOVERY_COMPONENT
See Also:
Constant Field Values

KEY_CLUSTER_NAME

public static final java.lang.String KEY_CLUSTER_NAME
See Also:
Constant Field Values
Constructor Detail

IndexRecoveryJob

public IndexRecoveryJob()
Method Detail

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Forces a full index recovery using the recovery component passed in via the job detail.

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


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