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