public class SingleReadReceiveOperationHandler extends AbstractMemoryOnlySearchReceiveOperationHandler
GigaSpace.read(Object,long)
.useMemoryOnlySearch
nonBlocking, nonBlockingFactor
Constructor and Description |
---|
SingleReadReceiveOperationHandler() |
Modifier and Type | Method and Description |
---|---|
protected Object |
doReceiveBlocking(Object template,
GigaSpace gigaSpace,
long receiveTimeout)
Performs single read operation using
GigaSpace.read(Object,long) with the
given timeout. |
protected Object |
doReceiveNonBlocking(Object template,
GigaSpace gigaSpace)
Performs single read operation using
GigaSpace.read(Object,long) with no
timeout. |
String |
toString() |
isUseMemoryOnlySearch, setUseMemoryOnlySearch
receive, setNonBlocking, setNonBlockingFactor
protected Object doReceiveBlocking(Object template, GigaSpace gigaSpace, long receiveTimeout) throws DataAccessException
GigaSpace.read(Object,long)
with the
given timeout.doReceiveBlocking
in class AbstractNonBlockingReceiveOperationHandler
DataAccessException
protected Object doReceiveNonBlocking(Object template, GigaSpace gigaSpace) throws DataAccessException
GigaSpace.read(Object,long)
with no
timeout.doReceiveNonBlocking
in class AbstractNonBlockingReceiveOperationHandler
DataAccessException
Copyright © GigaSpaces.