if ((newData != null) && (newData.length > 0)) {
for (int i = 0; i < newData.length; i++) {
EventBean event = newData[i];
if (event instanceof NaturalEventBean) {
NaturalEventBean natural = (NaturalEventBean) event;
Object[] params = deliveryConvertor.convertRow(natural.getNatural());
try {
updateFastMethod.invoke(subscriber, params);
}
catch (InvocationTargetException e) {
handle(statementName, log, e, params, subscriber, updateFastMethod);
}
catch (Throwable t) {
handleThrowable(log, t, params, subscriber, updateFastMethod);
}
}
}
}
if ((updateRStreamFastMethod != null) && (oldData != null) && (oldData.length > 0)) {
for (int i = 0; i < oldData.length; i++) {
EventBean event = oldData[i];
if (event instanceof NaturalEventBean) {
NaturalEventBean natural = (NaturalEventBean) event;
Object[] params = deliveryConvertor.convertRow(natural.getNatural());
try {
updateRStreamFastMethod.invoke(subscriber, params);
}
catch (InvocationTargetException e) {
handle(statementName, log, e, params, subscriber, updateRStreamFastMethod);