Example #1
0
 public void notifyTxError() {
   if (txListener != null) {
     try {
       txListener.onError();
     } catch (Throwable e) {
       LOGGER.error("Error in listener", e);
     }
   }
 }
Example #2
0
 private void notifyTxListener() {
   if (txListener != null) {
     txListener.onCommit();
   }
 }