net.sf.lucis.core.impl
Class DefaultReindexingWriter

java.lang.Object
  extended by net.sf.lucis.core.impl.DefaultReindexingWriter
All Implemented Interfaces:
ReindexingWriter

public final class DefaultReindexingWriter
extends Object
implements ReindexingWriter

Default reindexing writer.

Author:
Andres Rodriguez.

Constructor Summary
DefaultReindexingWriter()
           
DefaultReindexingWriter(Supplier<IndexWriterConfig> config)
           
 
Method Summary
 String getName()
          Returns the name of the object or the class name if no one was provided.
 void reindex(ReindexingStore store, FullIndexer indexer)
          Reindex.
 void setName(String name)
          Sets the object name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultReindexingWriter

public DefaultReindexingWriter()

DefaultReindexingWriter

public DefaultReindexingWriter(Supplier<IndexWriterConfig> config)
Method Detail

reindex

public void reindex(ReindexingStore store,
                    FullIndexer indexer)
             throws InterruptedException
Description copied from interface: ReindexingWriter
Reindex.

Specified by:
reindex in interface ReindexingWriter
Parameters:
store - Destination store.
indexer - Indexer.
Throws:
InterruptedException - if the current task has been interrupted.

getName

public final String getName()
Returns the name of the object or the class name if no one was provided.


setName

public final void setName(String name)
Sets the object name.



Copyright © 2013. All Rights Reserved.