public class WBCLEventListener extends Object implements com.gemstone.gemfire.cache.util.GatewayEventListener, com.gemstone.gemfire.cache.Declarable
| Modifier and Type | Field and Description |
|---|---|
int |
whereIWasRegistered
The process ID of the VM that created this listener
|
| Constructor and Description |
|---|
WBCLEventListener()
noArg constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init(Properties prop) |
String |
logCall(String methodName,
com.gemstone.gemfire.cache.util.GatewayEvent event)
Log that a gateway event occurred.
|
boolean |
processEvents(List events)
Counts events based on operation type
|
protected void |
throwException(String errStr)
Utility method to write an Exception string to the Event Blackboard and
to also throw an exception containing the same string.
|
String |
toString(String methodName,
com.gemstone.gemfire.cache.util.GatewayEvent event)
Return a string description of the GatewayEvent.
|
public int whereIWasRegistered
public boolean processEvents(List events)
processEvents in interface com.gemstone.gemfire.cache.util.GatewayEventListenerpublic void init(Properties prop)
init in interface com.gemstone.gemfire.cache.Declarablepublic void close()
close in interface com.gemstone.gemfire.cache.CacheCallbackprotected void throwException(String errStr)
errStr - String to log, post to EventBB and throwTestException - containing the passed in Stringutil.TestHelper.checkForEventErrorpublic String logCall(String methodName, com.gemstone.gemfire.cache.util.GatewayEvent event)
event - The event object that was passed to the event.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.