|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.ole.docstore.discovery.service.AdminServiceImpl
public class AdminServiceImpl
User: tirumalesh.b Date: 23/12/11 Time: 12:09 PM
Method Summary | |
---|---|
static AdminService |
getInstance()
|
void |
optimize()
Optimizes all available indexes. |
void |
optimize(Boolean waitFlush,
Boolean waitSearcher)
Optimize the indexes according to params |
void |
optimize(String indexName)
Optimizes the given index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AdminService getInstance()
public void optimize(String indexName) throws Exception
AdminService
optimize
in interface AdminService
Exception
public void optimize() throws Exception
AdminService
optimize
in interface AdminService
Exception
public void optimize(Boolean waitFlush, Boolean waitSearcher) throws Exception
AdminService
optimize
in interface AdminService
Exception
- waitFlush Default is true. Blocks until index changes are flushed to disk.
waitSearcher Default is true. Blocks until a new searcher is opened and registered as
the main query searcher, making the changes visible.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |