GemFire 6.5

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

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

Method Detail

processEvents

boolean processEvents(List<GatewayEvent> 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 6.5

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