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