Interface ReceiveOperationHandler

All Known Implementing Classes:
AbstractFifoGroupingReceiveOperationHandler, AbstractMemoryOnlySearchReceiveOperationHandler, AbstractNonBlockingReceiveOperationHandler, ExclusiveReadReceiveOperationHandler, MultiExclusiveReadReceiveOperationHandler, MultiReadReceiveOperationHandler, MultiTakeReceiveOperationHandler, SingleReadReceiveOperationHandler, SingleTakeReceiveOperationHandler

public interface ReceiveOperationHandler
Perform the actual receive operations for SimplePollingEventListenerContainer. Can return either a single object or an array of objects.
Author:
kimchy
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    receive(Object template, GigaSpace gigaSpace, long receiveTimeout)
    Performs the actual receive operation.
  • Method Details

    • receive

      Object receive(Object template, GigaSpace gigaSpace, long receiveTimeout) throws org.springframework.dao.DataAccessException
      Performs the actual receive operation. Return values allowed are single object or an array of objects.
      Parameters:
      template - The template to use for the receive operation.
      gigaSpace - The GigaSpace interface to perform the receive operations with
      receiveTimeout - Receive timeout value
      Returns:
      The receive result. null indicating no receive occurred. Single object or an array of objects indicating the receive operation result.
      Throws:
      org.springframework.dao.DataAccessException