Package org.apache.lucene.luke.app
Class IndexHandler
- java.lang.Object
-
- org.apache.lucene.luke.app.AbstractHandler<IndexObserver>
-
- org.apache.lucene.luke.app.IndexHandler
-
public final class IndexHandler extends AbstractHandler<IndexObserver>
Index open/close handler
-
-
Constructor Summary
Constructors Constructor Description IndexHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static IndexHandlergetInstance()LukeStategetState()booleanindexOpened()protected voidnotifyOne(IndexObserver observer)voidopen(String indexPath, String dirImpl)voidopen(String indexPath, String dirImpl, boolean readOnly, boolean useCompound, boolean keepAllCommits)voidreOpen()-
Methods inherited from class org.apache.lucene.luke.app.AbstractHandler
addObserver
-
-
-
-
Method Detail
-
getInstance
public static IndexHandler getInstance()
-
notifyOne
protected void notifyOne(IndexObserver observer)
- Specified by:
notifyOnein classAbstractHandler<IndexObserver>
-
indexOpened
public boolean indexOpened()
-
open
public void open(String indexPath, String dirImpl, boolean readOnly, boolean useCompound, boolean keepAllCommits)
-
close
public void close()
-
reOpen
public void reOpen()
-
getState
public LukeState getState()
-
-