Examples of stop()


Examples of com.linkedin.databus.core.test.DbusEventBufferReader.stop()

          }
        }, "Ensure No Rollback is called", 10, log);
      }
      finally
      {
        reader.stop();
      }
      log.info("end\n");
    }

    @Test(groups = {"small", "functional"})
View Full Code Here

Examples of com.linkedin.databus.core.test.DbusEventBufferWriter.stop()

    LOG.info("runConstEventsReaderWriter(): waiting up to " + (writerWaitms/1000) + " sec for writer thread to terminate");
    tWriter.join(writerWaitms);
    //close the writer Stream;
    dumpEmitterWriterReaderConsumerState(eventProducer, writer, reader, consumer, emitterStats, streamStats, clientStats, dstTestEvents, prodEventBuffer, consEventBuffer);
    LOG.info("runConstEventsReaderWriter(): signalling writer to stop");
    writer.stop();

    if (!tReader.isAlive())
    {
      LOG.error("runConstEventsReaderWriter(): reader thread died unexpectedly");
    }
View Full Code Here

Examples of com.linkedin.databus2.test.container.SimpleTestClientConnection.stop()

    Assert.assertEquals(clientMsgReader.getMsg(), "eom", "response read");

    //stop client read timeout
    clientTimeoutHandler.stop();

    clientConn.stop();
    srvConn.stop();
  }

  @Test
  /**
 
View Full Code Here

Examples of com.linkedin.databus2.test.container.SimpleTestServerConnection.stop()

    //stop client read timeout
    clientTimeoutHandler.stop();

    clientConn.stop();
    srvConn.stop();
  }

  @Test
  /**
   * Simulates the follow communication with no induced timeouts
View Full Code Here

Examples of com.linkedin.helix.webapp.HelixAdminWebApp.stop()

          finally
          {
            if (app != null)
            {
//              System.err.println("Stopping HelixAdminWebApp");
              app.stop();
            }
          }
        }
      });
View Full Code Here

Examples of com.linkedin.r2.transport.http.server.HttpServer.stop()

      @Override
      public void stop()
          throws IOException
      {
        server.stop();
        engine.shutdown();
        executor.shutdown();
        scheduler.shutdown();
      }
View Full Code Here

Examples of com.metamx.common.lifecycle.Lifecycle.stop()

      if (leading) {
        leading = false;
        mayBeStopped.signalAll();
        final Lifecycle leaderLifecycle = leaderLifecycleRef.getAndSet(null);
        if (leaderLifecycle != null) {
          leaderLifecycle.stop();
        }
      }
    }
    finally {
      giant.unlock();
View Full Code Here

Examples of com.mysql.jdbc.util.ServerController.stop()

      ServerController controller = new ServerController(this.baseDir);
      System.out.println(controller.start());
      System.out.println("Hit enter to stop server....");
      System.in.read();
      controller.stop(true);

    }
  }
}
View Full Code Here

Examples of com.netflix.astyanax.recipes.queue.MessageQueueDispatcher.stop()

            slm.releaseLock(l);
        }

        // Wait another 10 seconds and then stop the dispatcher
        Thread.sleep(1000);
        dispatcher.stop();

        assertEquals(queuedCount, count.intValue());
        // Check the busy lock count
        if(slm!=null) {
            System.out.println("Lock attempts " + slm.getLockAttempts());
View Full Code Here

Examples of com.netflix.logging.messaging.MessageBatcher.stop()

            + originalAppenderName;
            batcher = BatcherFactory.getBatcher(batcherName);
            if (batcher == null) {
                continue;
            }
            batcher.stop();
        }
        for (String originalAppenderName : originalAsyncAppenderNameMap
                .keySet()) {
            String batcherName = AsyncAppender.class.getName() + "."
            + originalAppenderName;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.