public abstract class AbstractMemoryOnlySearchReceiveOperationHandler extends AbstractNonBlockingReceiveOperationHandler
If configured
to use Memory Only Search, the read/take operation will use ReadModifiers.MEMORY_ONLY_SEARCH
/ TakeModifiers.MEMORY_ONLY_SEARCH
accordingly.
Modifier and Type | Field and Description |
---|---|
protected boolean |
useMemoryOnlySearch |
nonBlocking, nonBlockingFactor
Constructor and Description |
---|
AbstractMemoryOnlySearchReceiveOperationHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
isUseMemoryOnlySearch()
Returns whether the handler is configured to use memory only search or not.
|
void |
setUseMemoryOnlySearch(boolean useMemoryOnlySearch)
Allows to configure the take/read operation to be performed in a memory only search manner.
|
doReceiveBlocking, doReceiveNonBlocking, receive, setNonBlocking, setNonBlockingFactor
public AbstractMemoryOnlySearchReceiveOperationHandler()
public boolean isUseMemoryOnlySearch()
public void setUseMemoryOnlySearch(boolean useMemoryOnlySearch)
useMemoryOnlySearch
- if true, will use ReadModifiers.MEMORY_ONLY_SEARCH
/
TakeModifiers.MEMORY_ONLY_SEARCH
as part of the read/take
modifiers.Copyright © GigaSpaces.