org.sourceforge.beanindex.search
Class SearcherConfigInfo
java.lang.Object
org.sourceforge.beanindex.search.SearcherConfigInfo
- public class SearcherConfigInfo
- extends java.lang.Object
This is the BeanIndexSearcher configuration info class.
- Author:
- Sakthivel Muthusamy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_INDEX_CACHE_MAXSIZE
public static final int DEFAULT_INDEX_CACHE_MAXSIZE
- See Also:
- Constant Field Values
DEFAULT_DATA_CACHE_MAXSIZE
public static final int DEFAULT_DATA_CACHE_MAXSIZE
- See Also:
- Constant Field Values
DEFAULT_THREADPOOL_MAXSIZE
public static final int DEFAULT_THREADPOOL_MAXSIZE
- See Also:
- Constant Field Values
SearcherConfigInfo
public SearcherConfigInfo()
isDataCacheEnabled
public boolean isDataCacheEnabled()
- Returns:
- boolean
getDataCacheMaxSize
public int getDataCacheMaxSize()
- Returns:
- int
isIndexCacheEnabled
public boolean isIndexCacheEnabled()
- Returns:
- boolean
getIndexCacheMaxSize
public int getIndexCacheMaxSize()
- Returns:
- int
setDataCacheEnabled
public void setDataCacheEnabled(boolean dataCacheEnabled)
- Parameters:
dataCacheEnabled
-
setDataCacheMaxSize
public void setDataCacheMaxSize(int dataCacheMaxSize)
- Parameters:
dataCacheMaxSize
-
setIndexCacheEnabled
public void setIndexCacheEnabled(boolean indexCacheEnabled)
- Parameters:
indexCacheEnabled
-
setIndexCacheMaxSize
public void setIndexCacheMaxSize(int indexCacheMaxSize)
- Parameters:
indexCacheMaxSize
-
isThreadPoolEnabled
public boolean isThreadPoolEnabled()
- Returns:
- boolean
getThreadPoolMaxSize
public int getThreadPoolMaxSize()
- Returns:
- boolean
setThreadPoolEnabled
public void setThreadPoolEnabled(boolean threadPoolEnabled)
- Parameters:
threadPoolEnabled
-
setThreadPoolMaxSize
public void setThreadPoolMaxSize(int threadPoolMaxSize)
- Parameters:
threadPoolMaxSize
-
isDictionaryCacheEnabled
public boolean isDictionaryCacheEnabled()
- Returns:
- boolean
setDictionaryCacheEnabled
public void setDictionaryCacheEnabled(boolean dictionaryCacheEnabled)
- Parameters:
dictionaryCacheEnabled
- The dictionaryCacheEnabled to set.
getDictionaryCacheMaxSize
public int getDictionaryCacheMaxSize()
- Returns:
- int
setDictionaryCacheMaxSize
public void setDictionaryCacheMaxSize(int dictionaryCacheMaxSize)
- Parameters:
dictionaryCacheMaxSize
- The dictionaryCacheMaxSize to set.