Ejemplo n.º 1
0
 @Override
 public void logError(Throwable e) {
   if (backupOp != null) {
     // Be sure that backup operation is initialized.
     // If there is an exception before `run` (for example caller is not valid anymore),
     // backup operation is initialized. So, we are initializing it here ourselves.
     ensureBackupOperationInitialized();
     backupOp.logError(e);
   } else {
     ReplicaErrorLogger.log(e, getLogger());
   }
 }
Ejemplo n.º 2
0
 @Override
 public void logError(Throwable e) {
   ReplicaErrorLogger.log(e, getLogger());
 }