public class IndexControl extends Object implements org.hibernate.search.jmx.IndexControlMBean
IndexControlMBean
JMX attributes and operations.Constructor and Description |
---|
IndexControl(org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
SessionFactory factory) |
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(org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator, SessionFactory factory)
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 © 2018 JBoss by Red Hat. All rights reserved.