public class SingleTakeReceiveOperationHandler extends AbstractFifoGroupingReceiveOperationHandler
GigaSpace.take(Object, long,
int)
.useFifoGrouping
useMemoryOnlySearch
nonBlocking, nonBlockingFactor
Constructor and Description |
---|
SingleTakeReceiveOperationHandler() |
Modifier and Type | Method and Description |
---|---|
protected Object |
doReceiveBlocking(Object template,
GigaSpace gigaSpace,
long receiveTimeout)
Performs a single take operation using
GigaSpace.take(Object,
long, int) with the given timeout. |
protected Object |
doReceiveNonBlocking(Object template,
GigaSpace gigaSpace)
Performs a single take operation using
GigaSpace.take(Object,
long, int) with no timeout. |
String |
toString() |
isUseFifoGrouping, setUseFifoGrouping
isUseMemoryOnlySearch, setUseMemoryOnlySearch
receive, setNonBlocking, setNonBlockingFactor
protected Object doReceiveBlocking(Object template, GigaSpace gigaSpace, long receiveTimeout) throws org.springframework.dao.DataAccessException
GigaSpace.take(Object,
long, int)
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.take(Object,
long, int)
with no timeout.doReceiveNonBlocking
in class AbstractNonBlockingReceiveOperationHandler
org.springframework.dao.DataAccessException
Copyright © GigaSpaces.