예제 #1
0
 private static void Ping(IRequestPipeline pipeline, Node node, List <PipelineException> seenExceptions)
 {
     try
     {
         pipeline.Ping(node);
     }
     catch (PipelineException e) when(e.Recoverable)
     {
         pipeline.SniffOnConnectionFailure();
         e.RethrowKeepingStackTrace();
     }
 }
예제 #2
0
 private static void Ping(IRequestPipeline pipeline, Node node)
 {
     try
     {
         pipeline.Ping(node);
     }
     catch (PipelineException e) when(e.Recoverable)
     {
         pipeline.SniffOnConnectionFailure();
         throw;
     }
 }
예제 #3
0
 private void Ping(IRequestPipeline pipeline, Node node)
 {
     try
     {
         pipeline.Ping(node);
     }
     catch (PipelineException e) when(e.Recoverable)
     {
         if (_productRegistration.SupportsSniff)
         {
             pipeline.SniffOnConnectionFailure();
         }
         throw;
     }
 }