public interface IndexControlMBean
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_CTRL_MBEAN_OBJECT_NAME |
Modifier and Type | Method and Description |
---|---|
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) |
static final String INDEX_CTRL_MBEAN_OBJECT_NAME
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 indexIllegalArgumentException
- in case the entity name is not validUnsupportedOperationException
- 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 indexIllegalArgumentException
- in case the entity name is not validUnsupportedOperationException
- 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 indexIllegalArgumentException
- in case the entity name is not validUnsupportedOperationException
- in case the Hibernate SessionFactory
is not bound via JNDI.Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved