Interface BaseNodeWrapper

All Known Implementing Classes:
AbstractNodeWrapper, AINodeWrapper, ConfigNodeWrapper, DataNodeWrapper

public interface BaseNodeWrapper
  • Method Details

    • createNodeDir

      void createNodeDir()
    • createLogDir

      void createLogDir()
    • destroyDir

      void destroyDir()
    • start

      void start()
    • stop

      void stop()
    • stopForcibly

      void stopForcibly()
    • isAlive

      boolean isAlive()
    • getIp

      String getIp()
    • getPort

      int getPort()
    • getMetricPort

      int getMetricPort()
    • getId

      String getId()
    • getIpAndPortString

      String getIpAndPortString()
    • executeJstack

      void executeJstack()
      Perform jstack on the process corresponding to the wrapper, and use logger to output the results.
    • executeJstack

      void executeJstack(String testCaseName)
      Perform jstack on the process corresponding to the wrapper, and output the results to a file in the log directory.
      Parameters:
      testCaseName - the name of test case
    • getPid

      long getPid()