Class Cluster

java.lang.Object
com.mapr.ycsb.ssh.Cluster

public class Cluster extends Object
  • Field Details

  • Constructor Details

    • Cluster

      public Cluster(String hosts)
    • Cluster

      public Cluster(String user, String hosts)
  • Method Details

    • getSessionManager

      public SessionManager getSessionManager()
    • copyToRemote

      public List<Future<CopyToRemote>> copyToRemote(String localFile, String remoteFile) throws com.jcraft.jsch.JSchException
      Throws:
      com.jcraft.jsch.JSchException
    • copyFromRemote

      public List<Future<CopyFromRemote>> copyFromRemote(String remoteFile, String localFile) throws com.jcraft.jsch.JSchException
      Throws:
      com.jcraft.jsch.JSchException
    • copyId

      public List<Future<RunCommand>> copyId(String remoteDir) throws com.jcraft.jsch.JSchException
      Throws:
      com.jcraft.jsch.JSchException
    • runCommand

      public List<Future<RunCommand>> runCommand(String command) throws com.jcraft.jsch.JSchException
      Throws:
      com.jcraft.jsch.JSchException
    • shoutdown

      public void shoutdown()