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 void
close()
static IndexHandler
getInstance()
LukeState
getState()
boolean
indexOpened()
protected void
notifyOne(IndexObserver observer)
void
open(String indexPath, String dirImpl)
void
open(String indexPath, String dirImpl, boolean readOnly, boolean useCompound, boolean keepAllCommits)
void
reOpen()
-
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:
notifyOne
in 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()
-
-