public class GatewaySenderBatchOp
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
executeOn(org.apache.geode.cache.client.internal.Connection con,
org.apache.geode.cache.client.internal.ExecutablePool pool) |
static void |
executeOn(org.apache.geode.cache.client.internal.Connection con,
org.apache.geode.cache.client.internal.ExecutablePool pool,
java.util.List events,
int batchId,
boolean removeFromQueueOnException,
boolean isRetry)
Send a list of gateway events to a server to execute using connections from the given pool to
communicate with the server.
|
public static void executeOn(org.apache.geode.cache.client.internal.Connection con,
org.apache.geode.cache.client.internal.ExecutablePool pool,
java.util.List events,
int batchId,
boolean removeFromQueueOnException,
boolean isRetry)
con - the connection to send the message on.pool - the pool to use to communicate with the server.events - list of gateway eventsbatchId - the ID of this batchremoveFromQueueOnException - true if the events should be processed even after some
exceptionpublic static java.lang.Object executeOn(org.apache.geode.cache.client.internal.Connection con,
org.apache.geode.cache.client.internal.ExecutablePool pool)