public class MyAsyncEventListener extends Object implements com.gemstone.gemfire.cache.asyncqueue.AsyncEventListener<Object,Object>, 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 |
|---|
MyAsyncEventListener()
noArg constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init(Properties prop) |
String |
logCall(String methodName,
com.gemstone.gemfire.cache.asyncqueue.AsyncEvent event)
Log that a gateway event occurred.
|
boolean |
processEvents(List<com.gemstone.gemfire.cache.asyncqueue.AsyncEvent<Object,Object>> events)
Counts events based on operation type
|
String |
toString(String methodName,
com.gemstone.gemfire.cache.asyncqueue.AsyncEvent event)
Return a string description of the GatewayEvent.
|
public int whereIWasRegistered
public boolean processEvents(List<com.gemstone.gemfire.cache.asyncqueue.AsyncEvent<Object,Object>> events)
public void init(Properties prop)
init in interface com.gemstone.gemfire.cache.Declarablepublic void close()
close in interface com.gemstone.gemfire.cache.CacheCallbackpublic String logCall(String methodName, com.gemstone.gemfire.cache.asyncqueue.AsyncEvent event)
event - The event object that was passed to the event.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.