public class WBCLEventListener
extends java.lang.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(java.util.Properties prop) |
java.lang.String |
logCall(java.lang.String methodName,
com.gemstone.gemfire.cache.util.GatewayEvent event)
Log that a gateway event occurred.
|
boolean |
processEvents(java.util.List events)
Counts events based on operation type
|
protected void |
throwException(java.lang.String errStr)
Utility method to write an Exception string to the Event Blackboard and
to also throw an exception containing the same string.
|
java.lang.String |
toString(java.lang.String methodName,
com.gemstone.gemfire.cache.util.GatewayEvent event)
Return a string description of the GatewayEvent.
|
public int whereIWasRegistered
public boolean processEvents(java.util.List events)
processEvents in interface com.gemstone.gemfire.cache.util.GatewayEventListenerpublic void init(java.util.Properties prop)
init in interface com.gemstone.gemfire.cache.Declarablepublic void close()
close in interface com.gemstone.gemfire.cache.CacheCallbackprotected void throwException(java.lang.String errStr)
errStr - String to log, post to EventBB and throwTestException - containing the passed in Stringutil.TestHelper.checkForEventErrorpublic java.lang.String logCall(java.lang.String methodName,
com.gemstone.gemfire.cache.util.GatewayEvent event)
event - The event object that was passed to the event.public java.lang.String toString(java.lang.String methodName,
com.gemstone.gemfire.cache.util.GatewayEvent event)
event - The GatewayEvent object that was passed to the CqListenerCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.