org.apache.blur.manager.writer
Class IndexImporter

java.lang.Object
  extended by java.util.TimerTask
      extended by org.apache.blur.manager.writer.IndexImporter
All Implemented Interfaces:
Closeable, Runnable

public class IndexImporter
extends TimerTask
implements Closeable


Constructor Summary
IndexImporter(BlurIndex blurIndex, ShardContext shardContext, TimeUnit refreshUnit, long refreshAmount)
           
 
Method Summary
 void cleanupOldDirs()
           
 void close()
           
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexImporter

public IndexImporter(BlurIndex blurIndex,
                     ShardContext shardContext,
                     TimeUnit refreshUnit,
                     long refreshAmount)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

cleanupOldDirs

public void cleanupOldDirs()
                    throws IOException
Throws:
IOException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.