Package com.mapr.ycsb.ssh
Class Cluster
- java.lang.Object
-
- com.mapr.ycsb.ssh.Cluster
-
public class Cluster extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringID_FILE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.util.concurrent.Future<CopyFromRemote>>copyFromRemote(java.lang.String remoteFile, java.lang.String localFile)java.util.List<java.util.concurrent.Future<RunCommand>>copyId(java.lang.String remoteDir)java.util.List<java.util.concurrent.Future<CopyToRemote>>copyToRemote(java.lang.String localFile, java.lang.String remoteFile)SessionManagergetSessionManager()java.util.List<java.util.concurrent.Future<RunCommand>>runCommand(java.lang.String command)voidshoutdown()
-
-
-
Field Detail
-
ID_FILE
public static final java.lang.String ID_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSessionManager
public SessionManager getSessionManager()
-
copyToRemote
public java.util.List<java.util.concurrent.Future<CopyToRemote>> copyToRemote(java.lang.String localFile, java.lang.String remoteFile) throws com.jcraft.jsch.JSchException
- Throws:
com.jcraft.jsch.JSchException
-
copyFromRemote
public java.util.List<java.util.concurrent.Future<CopyFromRemote>> copyFromRemote(java.lang.String remoteFile, java.lang.String localFile) throws com.jcraft.jsch.JSchException
- Throws:
com.jcraft.jsch.JSchException
-
copyId
public java.util.List<java.util.concurrent.Future<RunCommand>> copyId(java.lang.String remoteDir) throws com.jcraft.jsch.JSchException
- Throws:
com.jcraft.jsch.JSchException
-
runCommand
public java.util.List<java.util.concurrent.Future<RunCommand>> runCommand(java.lang.String command) throws com.jcraft.jsch.JSchException
- Throws:
com.jcraft.jsch.JSchException
-
shoutdown
public void shoutdown()
-
-