|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.search.jmx.IndexControl
public class IndexControl
Implementation of the IndexControlMBean JMX attributes and operations.
| Field Summary |
|---|
| Fields inherited from interface org.hibernate.search.jmx.IndexControlMBean |
|---|
INDEX_CTRL_MBEAN_OBJECT_NAME |
| Constructor Summary | |
|---|---|
IndexControl(Properties props)
|
|
| Method Summary | |
|---|---|
int |
getBatchSize()
|
int |
getNumberOfFetchingThreads()
|
int |
getNumberOfObjectLoadingThreads()
|
void |
index(String entity)
Index the specified entity using the mass indexer. |
void |
optimize(String entity)
Optimizes the index for the specified entity. |
void |
purge(String entity)
Purge the index of the specified entity. |
void |
setBatchSize(int batchSize)
Sets the batch size for the mass indexer. |
void |
setNumberOfFetchingThreads(int numberOfThreads)
|
void |
setNumberOfObjectLoadingThreads(int numberOfThreads)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexControl(Properties props)
| Method Detail |
|---|
public void setBatchSize(int batchSize)
IndexControlMBean
setBatchSize in interface IndexControlMBeanbatchSize - the new batch sizepublic int getBatchSize()
getBatchSize in interface IndexControlMBeanpublic void setNumberOfObjectLoadingThreads(int numberOfThreads)
setNumberOfObjectLoadingThreads in interface IndexControlMBeannumberOfThreads - the number of threads used for object loading during mass indexing.public int getNumberOfObjectLoadingThreads()
getNumberOfObjectLoadingThreads in interface IndexControlMBeanpublic void setNumberOfFetchingThreads(int numberOfThreads)
setNumberOfFetchingThreads in interface IndexControlMBeannumberOfThreads - the number of threads used for collections fetching during mass indexingpublic int getNumberOfFetchingThreads()
getNumberOfFetchingThreads in interface IndexControlMBeanpublic void index(String entity)
IndexControlMBeanNote:
This method is only available if the Hibernate SessionFactory
is available via JNDI.
index in interface IndexControlMBeanentity - The fqc of the entity to indexpublic void optimize(String entity)
IndexControlMBeanNote:
This method is only available if the Hibernate SessionFactory
is available via JNDI.
optimize in interface IndexControlMBeanentity - The fqc of the entity to indexpublic void purge(String entity)
IndexControlMBeanNote:
This method is only available if the Hibernate SessionFactory
is available via JNDI.
purge in interface IndexControlMBeanentity - The fqc of the entity to index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||