GigaSpaces XAP 7.0 API

org.openspaces.events.asyncpolling.receive
Interface AsyncOperationHandler

All Known Implementing Classes:
ExclusiveReadAsyncOperationHandler, SingleReadAsyncOperationHandler, SingleTakeAsyncOperationHandler

public interface AsyncOperationHandler

The async operation handler allows for pluggable options to execute the async receive operation when using SimpleAsyncPollingEventListenerContainer.

Author:
kimchy

Method Summary
 AsyncFuture asyncReceive(Object template, GigaSpace gigaSpace, long receiveTimeout, AsyncFutureListener listener)
          Perform the async receive operation.
 

Method Detail

asyncReceive

AsyncFuture asyncReceive(Object template,
                         GigaSpace gigaSpace,
                         long receiveTimeout,
                         AsyncFutureListener listener)
                         throws DataAccessException
Perform the async receive operation.

Throws:
DataAccessException

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.