|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IndexControlMBean
Defines the Hibernate Search exposed JMX attributes and operations for index creation and purging.
| Field Summary | |
|---|---|
static String |
INDEX_CTRL_MBEAN_OBJECT_NAME
|
| 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)
|
| Field Detail |
|---|
static final String INDEX_CTRL_MBEAN_OBJECT_NAME
| Method Detail |
|---|
void setBatchSize(int batchSize)
batchSize - the new batch sizeint getBatchSize()
void setNumberOfObjectLoadingThreads(int numberOfThreads)
numberOfThreads - the number of threads used for object loading during mass indexing.int getNumberOfObjectLoadingThreads()
void setNumberOfFetchingThreads(int numberOfThreads)
numberOfThreads - the number of threads used for collections fetching during mass indexingint getNumberOfFetchingThreads()
void index(String entity)
Note:
This method is only available if the Hibernate SessionFactory
is available via JNDI.
entity - The fqc of the entity to index
IllegalArgumentException - in case the entity name is not valid
UnsupportedOperationException - in case the Hibernate SessionFactory is not bound via JNDI.void optimize(String entity)
Note:
This method is only available if the Hibernate SessionFactory
is available via JNDI.
entity - The fqc of the entity to index
IllegalArgumentException - in case the entity name is not valid
UnsupportedOperationException - in case the Hibernate SessionFactory is not bound via JNDI.void purge(String entity)
Note:
This method is only available if the Hibernate SessionFactory
is available via JNDI.
entity - The fqc of the entity to index
IllegalArgumentException - in case the entity name is not valid
UnsupportedOperationException - in case the Hibernate SessionFactory is not bound via JNDI.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||