GigaSpaces XAP 10.0.1 API

org.openspaces.events.asyncpolling.receive
Class SingleTakeAsyncOperationHandler

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

public class SingleTakeAsyncOperationHandler
extends Object
implements AsyncOperationHandler

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

Author:
kimchy

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

Constructor Detail

SingleTakeAsyncOperationHandler

public SingleTakeAsyncOperationHandler()
Method Detail

asyncReceive

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

Specified by:
asyncReceive in interface AsyncOperationHandler
Throws:
DataAccessException

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.