Liferay 6.1.2-ce-ga3

com.liferay.portal.search.lucene.dump
Class DumpIndexDeletionPolicy

java.lang.Object
  extended by com.liferay.portal.search.lucene.dump.DumpIndexDeletionPolicy
All Implemented Interfaces:
org.apache.lucene.index.IndexDeletionPolicy

public class DumpIndexDeletionPolicy
extends Object
implements org.apache.lucene.index.IndexDeletionPolicy


Constructor Summary
DumpIndexDeletionPolicy()
           
 
Method Summary
 void dump(OutputStream outputStream, org.apache.lucene.index.IndexWriter indexWriter, Lock commitLock)
           
 long getLastGeneration()
           
 void onCommit(List<? extends org.apache.lucene.index.IndexCommit> indexCommits)
           
 void onInit(List<? extends org.apache.lucene.index.IndexCommit> indexCommits)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpIndexDeletionPolicy

public DumpIndexDeletionPolicy()
Method Detail

dump

public void dump(OutputStream outputStream,
                 org.apache.lucene.index.IndexWriter indexWriter,
                 Lock commitLock)
          throws IOException
Throws:
IOException

getLastGeneration

public long getLastGeneration()

onCommit

public void onCommit(List<? extends org.apache.lucene.index.IndexCommit> indexCommits)
Specified by:
onCommit in interface org.apache.lucene.index.IndexDeletionPolicy

onInit

public void onInit(List<? extends org.apache.lucene.index.IndexCommit> indexCommits)
Specified by:
onInit in interface org.apache.lucene.index.IndexDeletionPolicy

Liferay 6.1.2-ce-ga3