GigaSpaces XAP 7.0 API

org.openspaces.events.asyncpolling.receive
Class SingleReadAsyncOperationHandler

java.lang.Object
  extended by org.openspaces.events.asyncpolling.receive.SingleReadAsyncOperationHandler
All Implemented Interfaces:
AsyncOperationHandler

public class SingleReadAsyncOperationHandler
extends Object
implements AsyncOperationHandler

Performs a single take usign GigaSpace.asyncRead(Object).

Author:
kimchy

Constructor Summary
SingleReadAsyncOperationHandler()
           
 
Method Summary
 AsyncFuture asyncReceive(Object template, GigaSpace gigaSpace, long receiveTimeout, AsyncFutureListener listener)
          Performs a single take usign GigaSpace.asyncRead(Object).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleReadAsyncOperationHandler

public SingleReadAsyncOperationHandler()
Method Detail

asyncReceive

public AsyncFuture asyncReceive(Object template,
                                GigaSpace gigaSpace,
                                long receiveTimeout,
                                AsyncFutureListener listener)
                         throws DataAccessException
Performs a single take usign GigaSpace.asyncRead(Object).

Specified by:
asyncReceive in interface AsyncOperationHandler
Throws:
DataAccessException

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.