net.sf.ehcache.search
Class ExecutionHints
java.lang.Object
net.sf.ehcache.search.ExecutionHints
public class ExecutionHints
- extends Object
Builder-style class that allows user to specify query execution preferences, if necessary
- Author:
- Terracotta
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_RESULT_BATCH_SIZE
public static final int DEFAULT_RESULT_BATCH_SIZE
- Default value
- See Also:
- Constant Field Values
ExecutionHints
public ExecutionHints()
setResultBatchSize
public ExecutionHints setResultBatchSize(int size)
- Set desired batch size for search results. This may be used as a safeguard to keep memory overhead fixed,
when expecting total number of results to be large.
- Parameters:
size
-
- Returns:
getResultBatchSize
public int getResultBatchSize()
- Returns:
- desired search result batch size
Copyright 2001-2014, Terracotta, Inc.