| Package | Description |
|---|---|
| com.pivotal.gemfirexd.callbacks |
| Modifier and Type | Method and Description |
|---|---|
protected java.sql.PreparedStatement |
DBSynchronizer.getExecutableDeletePrepStmntPKBased(Event pkEvent,
java.sql.PreparedStatement prevPS)
Get or create a
PreparedStatement for a primary key based delete
operation. |
protected java.sql.PreparedStatement |
DBSynchronizer.getExecutableInsertPrepStmntPKBased(Event pkEvent,
java.sql.PreparedStatement prevPS)
Get or create a
PreparedStatement for an insert operation. |
protected java.sql.PreparedStatement |
DBSynchronizer.getExecutablePrepStmntBulkOp(Event event,
java.sql.PreparedStatement prevPS)
Get or create a
PreparedStatement for a
Event.Type.isBulkOperation() type of operation. |
protected java.sql.PreparedStatement |
DBSynchronizer.getExecutableUpdatePrepStmntPKBased(Event pkEvent,
java.sql.PreparedStatement prevPS)
Get or create a
PreparedStatement for a primary key based update
operation. |
protected DBSynchronizer.SqlExceptionHandler |
DBSynchronizer.handleSQLException(java.sql.SQLException sqle,
java.lang.String format,
java.sql.Statement stmt,
Event event,
java.lang.String eventString,
java.util.logging.Logger logger,
boolean logWarning)
Log exception including stack traces for fine logging with
DBSynchronizer.traceDBSynchronizer, and returns an DBSynchronizer.SqlExceptionHandler
for the given SQLException. |
void |
EventErrorLogger.logError(Event event,
java.lang.Exception e) |
void |
AsyncEventHelper.logEventError(Event ev,
java.lang.Exception e) |
void |
GatewayEventErrorHandler.onError(Event event,
java.lang.Exception e)
Called for every gateway event that failed to be applied
|
void |
EventCallback.onEvent(Event event)
This method is invoked when the callback is fired on a table event.
|
boolean |
AsyncEventHelper.removeEventFromFailureMap(Event event)
After a successful event execution remove from failure map if present (i.e.
|
boolean |
AsyncEventHelper.setParamsInBulkPreparedStatement(Event event,
Event.Type evType,
java.sql.PreparedStatement ps,
java.sql.PreparedStatement prevPS,
DBSynchronizer sync)
Set the parameters to the prepared statement for a
Event.Type.BULK_DML or Event.Type.BULK_INSERT operation. |
boolean |
AsyncEventHelper.skipFailureLogging(Event event)
Check if logging for the same event repeatedly has to be skipped.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AsyncEventListener.processEvents(java.util.List<Event> events)
Process the list of
Events. |
boolean |
DBSynchronizer.processEvents(java.util.List<Event> events) |
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.