Esri Geoportal Server
1.0

com.esri.gpt.catalog.lucene
Class LuceneIndexOptimizer

java.lang.Object
  extended by com.esri.gpt.catalog.lucene.LuceneIndexOptimizer
All Implemented Interfaces:
IScheduledTask, Runnable

public class LuceneIndexOptimizer
extends Object
implements Runnable, IScheduledTask

Background thread to optimize the Lucene index.


Constructor Summary
LuceneIndexOptimizer()
          Default constructor.
 
Method Summary
 void run()
          Run the optimization process.
 void setParameters(StringAttributeMap parameters)
          Sets the configuration paramaters for the task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneIndexOptimizer

public LuceneIndexOptimizer()
Default constructor.

Method Detail

setParameters

public void setParameters(StringAttributeMap parameters)
Sets the configuration paramaters for the task.

Specified by:
setParameters in interface IScheduledTask
Parameters:
parameters - the configuration paramaters

run

public void run()
Run the optimization process.

Specified by:
run in interface Runnable

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.