org.openspaces.events.polling.receive
Class SingleReadReceiveOperationHandler
java.lang.Object
org.openspaces.events.polling.receive.AbstractNonBlockingReceiveOperationHandler
org.openspaces.events.polling.receive.AbstractMemoryOnlySearchReceiveOperationHandler
org.openspaces.events.polling.receive.SingleReadReceiveOperationHandler
- All Implemented Interfaces:
- ReceiveOperationHandler
public class SingleReadReceiveOperationHandler
- extends AbstractMemoryOnlySearchReceiveOperationHandler
Performs single read operation using GigaSpace.read(Object,long)
.
- Author:
- kimchy
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
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © GigaSpaces.