org.sourceforge.beanindex.search
Class SearcherConfigInfo

java.lang.Object
  extended byorg.sourceforge.beanindex.search.SearcherConfigInfo

public class SearcherConfigInfo
extends java.lang.Object

This is the BeanIndexSearcher configuration info class.

Author:
Sakthivel Muthusamy

Field Summary
static int DEFAULT_DATA_CACHE_MAXSIZE
           
static int DEFAULT_INDEX_CACHE_MAXSIZE
           
static int DEFAULT_THREADPOOL_MAXSIZE
           
 
Constructor Summary
SearcherConfigInfo()
           
 
Method Summary
 int getDataCacheMaxSize()
           
 int getDictionaryCacheMaxSize()
           
 int getIndexCacheMaxSize()
           
 int getThreadPoolMaxSize()
           
 boolean isDataCacheEnabled()
           
 boolean isDictionaryCacheEnabled()
           
 boolean isIndexCacheEnabled()
           
 boolean isThreadPoolEnabled()
           
 void setDataCacheEnabled(boolean dataCacheEnabled)
           
 void setDataCacheMaxSize(int dataCacheMaxSize)
           
 void setDictionaryCacheEnabled(boolean dictionaryCacheEnabled)
           
 void setDictionaryCacheMaxSize(int dictionaryCacheMaxSize)
           
 void setIndexCacheEnabled(boolean indexCacheEnabled)
           
 void setIndexCacheMaxSize(int indexCacheMaxSize)
           
 void setThreadPoolEnabled(boolean threadPoolEnabled)
           
 void setThreadPoolMaxSize(int threadPoolMaxSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SearcherConfigInfo

public SearcherConfigInfo()
Method Detail

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.