private void NotifyFailure(AerospikeException ae)
 {
     try
     {
         ae.SetInDoubt(isRead, commandSentCounter);
         OnFailure(ae);
     }
     catch (Exception e)
     {
         if (Log.WarnEnabled())
         {
             Log.Warn("OnFailure() error: " + Util.GetErrorMessage(e));
         }
     }
 }
 private void NotifyFailure(AerospikeException ae)
 {
     try
     {
         ae.Node      = node;
         ae.Policy    = policy;
         ae.Iteration = iteration;
         ae.SetInDoubt(IsWrite(), commandSentCounter);
         OnFailure(ae);
     }
     catch (Exception e)
     {
         if (Log.WarnEnabled())
         {
             Log.Warn("OnFailure() error: " + Util.GetErrorMessage(e));
         }
     }
 }
Пример #3
0
        private void FailCommand(AerospikeException ae)
        {
            PutBackArgsOnError();

            try
            {
                ae.Node      = node;
                ae.Iteration = iteration;
                ae.SetInDoubt(isRead, commandSentCounter);
                OnFailure(ae);
            }
            catch (Exception e)
            {
                if (Log.WarnEnabled())
                {
                    Log.Warn("OnFailure() error: " + Util.GetErrorMessage(e));
                }
            }
        }