org.openspaces.events.polling.receive
Class SingleTakeReceiveOperationHandler
java.lang.Object
  
org.openspaces.events.polling.receive.AbstractNonBlockingReceiveOperationHandler
      
org.openspaces.events.polling.receive.AbstractFifoGroupingReceiveOperationHandler
          
org.openspaces.events.polling.receive.SingleTakeReceiveOperationHandler
- All Implemented Interfaces: 
 - ReceiveOperationHandler
 
public class SingleTakeReceiveOperationHandler
- extends AbstractFifoGroupingReceiveOperationHandler
 
Performs single take operation using GigaSpace.take(Object,long,int).
- Author:
 
  - kimchy
 
 
 
 
 
 
 
 
 
SingleTakeReceiveOperationHandler
public SingleTakeReceiveOperationHandler()
doReceiveBlocking
protected Object doReceiveBlocking(Object template,
                                   GigaSpace gigaSpace,
                                   long receiveTimeout)
                            throws DataAccessException
- Performs a single take operation using 
GigaSpace.take(Object, long,int) with
 the given timeout.
- Specified by:
 doReceiveBlocking in class AbstractNonBlockingReceiveOperationHandler
 
- Throws:
 DataAccessException
 
 
doReceiveNonBlocking
protected Object doReceiveNonBlocking(Object template,
                                      GigaSpace gigaSpace)
                               throws DataAccessException
- Performs a single take operation using 
GigaSpace.take(Object,long,int) with
 no timeout.
- Specified by:
 doReceiveNonBlocking in class AbstractNonBlockingReceiveOperationHandler
 
- Throws:
 DataAccessException
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
Copyright © GigaSpaces.