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 org.springframework.dao.DataAccessException
GigaSpace.read(Object, long)
with the given timeout.doReceiveBlocking
in class AbstractNonBlockingReceiveOperationHandler
org.springframework.dao.DataAccessException
protected Object doReceiveNonBlocking(Object template, GigaSpace gigaSpace) throws org.springframework.dao.DataAccessException
GigaSpace.read(Object, long)
with no timeout.doReceiveNonBlocking
in class AbstractNonBlockingReceiveOperationHandler
org.springframework.dao.DataAccessException
Copyright © GigaSpaces.