org.openspaces.events.polling.receive
Class SingleTakeReceiveOperationHandler
java.lang.Object
org.openspaces.events.polling.receive.AbstractNonBlockingReceiveOperationHandler
org.openspaces.events.polling.receive.SingleTakeReceiveOperationHandler
- All Implemented Interfaces:
- ReceiveOperationHandler
public class SingleTakeReceiveOperationHandler
- extends AbstractNonBlockingReceiveOperationHandler
Performs single take operation using GigaSpace.take(Object,long)
.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleTakeReceiveOperationHandler
public SingleTakeReceiveOperationHandler()
doReceiveBlocking
protected Object doReceiveBlocking(Object template,
GigaSpace gigaSpace,
long receiveTimeout)
throws DataAccessException
- Performs a single take operation using
GigaSpace.take(Object, long)
with
the given timeout.
- Specified by:
doReceiveBlocking
in class AbstractNonBlockingReceiveOperationHandler
- Throws:
DataAccessException
doReceiveNonBlocking
protected Object doReceiveNonBlocking(Object template,
GigaSpace gigaSpace)
throws DataAccessException
- Performs a single take operation using
GigaSpace.take(Object, long)
with
no timeout.
- Specified by:
doReceiveNonBlocking
in class AbstractNonBlockingReceiveOperationHandler
- Throws:
DataAccessException
Copyright © GigaSpaces.