コード例 #1
0
 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));
         }
     }
 }
コード例 #2
0
 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));
                }
            }
        }