org.openspaces.events.asyncpolling.receive
Class ExclusiveReadAsyncOperationHandler
java.lang.Object
org.openspaces.events.asyncpolling.receive.ExclusiveReadAsyncOperationHandler
- All Implemented Interfaces:
- AsyncOperationHandler
public class ExclusiveReadAsyncOperationHandler
- extends Object
- implements AsyncOperationHandler
Performs a single take usign GigaSpace.asyncRead(Object)
under exclusive
read lock.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExclusiveReadAsyncOperationHandler
public ExclusiveReadAsyncOperationHandler()
asyncReceive
public AsyncFuture asyncReceive(Object template,
GigaSpace gigaSpace,
long receiveTimeout,
AsyncFutureListener listener)
throws DataAccessException
- Performs a single take usign
GigaSpace.asyncRead(Object)
under exclusive
read lock.
- Specified by:
asyncReceive
in interface AsyncOperationHandler
- Throws:
DataAccessException
Copyright © GigaSpaces.