GigaSpaces XAP.NET Documentation
ReceiveBatch Method (template, proxy, tx, receiveTimeout, batchSize)
Class LibraryGigaSpaces.XAP.Events.Polling.ReceiveNonBlockingReceiveHandler<(Of <(<'TData>)>)>ReceiveBatch(IQuery<(Of <<'(TData>)>>), ISpaceProxy, ITransaction, Int64, Int32)
Performs the actual receive operation. Return values allowed are single object or an array of objects.
Declaration Syntax
C#Visual BasicVisual C++J#
public TData[] ReceiveBatch(
	IQuery<TData> template,
	ISpaceProxy proxy,
	ITransaction tx,
	long receiveTimeout,
	int batchSize
)
Public Function ReceiveBatch ( _
	template As IQuery(Of TData), _
	proxy As ISpaceProxy, _
	tx As ITransaction, _
	receiveTimeout As Long, _
	batchSize As Integer _
) As TData()
public:
virtual array<TData>^ ReceiveBatch(
	IQuery<TData>^ template, 
	ISpaceProxy^ proxy, 
	ITransaction^ tx, 
	long long receiveTimeout, 
	int batchSize
) sealed
public final TData[] ReceiveBatch(
	IQuery<TData> template,
	ISpaceProxy proxy,
	ITransaction tx,
	long receiveTimeout,
	int batchSize
)
Parameters
template (IQuery<(Of <(<'TData>)>)>)
The template for the receive operation.
proxy (ISpaceProxy)
The proxy to execute the operation on.
tx (ITransaction)
Operation's transaction context, can be null.
receiveTimeout (Int64)
Operation's receive timeout
batchSize (Int32)
operation's batch size
Return Value
An object that will be passed to the event listener, null result doesn't trigger an event.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 16.3.0.0 (16.3.0)