public class IndexControl extends Object implements org.hibernate.search.jmx.IndexControlMBean
IndexControlMBean
JMX attributes and operations.Constructor and Description |
---|
IndexControl(ConfigurationService configurationService,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator) |
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize() |
int |
getNumberOfFetchingThreads() |
int |
getNumberOfObjectLoadingThreads() |
void |
index(String entity) |
void |
optimize(String entity) |
void |
purge(String entity) |
void |
setBatchSize(int batchSize) |
void |
setNumberOfFetchingThreads(int numberOfThreads) |
void |
setNumberOfObjectLoadingThreads(int numberOfThreads) |
public IndexControl(ConfigurationService configurationService, org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator)
public void setBatchSize(int batchSize)
setBatchSize
in interface org.hibernate.search.jmx.IndexControlMBean
public int getBatchSize()
getBatchSize
in interface org.hibernate.search.jmx.IndexControlMBean
public void setNumberOfObjectLoadingThreads(int numberOfThreads)
setNumberOfObjectLoadingThreads
in interface org.hibernate.search.jmx.IndexControlMBean
public int getNumberOfObjectLoadingThreads()
getNumberOfObjectLoadingThreads
in interface org.hibernate.search.jmx.IndexControlMBean
public void setNumberOfFetchingThreads(int numberOfThreads)
setNumberOfFetchingThreads
in interface org.hibernate.search.jmx.IndexControlMBean
public int getNumberOfFetchingThreads()
getNumberOfFetchingThreads
in interface org.hibernate.search.jmx.IndexControlMBean
public void index(String entity)
index
in interface org.hibernate.search.jmx.IndexControlMBean
public void optimize(String entity)
optimize
in interface org.hibernate.search.jmx.IndexControlMBean
public void purge(String entity)
purge
in interface org.hibernate.search.jmx.IndexControlMBean
Copyright © 2016 JBoss by Red Hat. All rights reserved.