public class SingleTakeReceiveOperationHandler extends AbstractFifoGroupingReceiveOperationHandler
GigaSpace.take(Object, long,
TakeModifiers)
.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, TakeModifiers) with the given timeout. |
protected Object |
doReceiveNonBlocking(Object template,
GigaSpace gigaSpace)
Performs a single take operation using
GigaSpace.take(Object,
long, TakeModifiers) 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, TakeModifiers)
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, TakeModifiers)
with no timeout.doReceiveNonBlocking
in class AbstractNonBlockingReceiveOperationHandler
org.springframework.dao.DataAccessException
Copyright © GigaSpaces.