Пример #1
0
  private static void stopGateways() throws IOException, InterruptedException {
    javaProcessLauncher.stopBySendingNewLineIntoProcess(cacheServerA);
    javaProcessLauncher.stopBySendingNewLineIntoProcess(cacheServerB);
    javaProcessLauncher.stopBySendingNewLineIntoProcess(cacheServerC);

    javaProcessLauncher.stopBySendingNewLineIntoProcess(gatewayA);
    javaProcessLauncher.stopBySendingNewLineIntoProcess(gatewayB);
    javaProcessLauncher.stopBySendingNewLineIntoProcess(gatewayC);
  }