GemFire 5.7

com.gemstone.gemfire.cache.util
Interface GatewayEventListener

All Superinterfaces:
CacheCallback

public interface GatewayEventListener
extends CacheCallback

Implementers of interface GatewayEventListener process batches of GatewayEvents.

Since:
5.1
See Also:
GatewayEvent
Note: Early Access. Please consult GemStone technical support for assistance with this functionality.

Method Summary
 boolean processEvents(List events)
          Process the list of GatewayEvents.
 
Methods inherited from interface com.gemstone.gemfire.cache.CacheCallback
close
 

Method Detail

processEvents

boolean processEvents(List events)
Process the list of GatewayEvents. This method will asynchronously be called when events are queued to be processed. The size of the list will be up to batch size events where batch size is defined in the GatewayQueueAttributes.

Parameters:
events - The list of GatewayEvents to process
Returns:
whether the events were successfully processed.

GemFire 5.7

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.