org.gridkit.vicluster.telecontrol.ssh
Class SftFileCache
java.lang.Object
org.gridkit.vicluster.telecontrol.ssh.SftFileCache
- All Implemented Interfaces:
- RemoteFileCache
public class SftFileCache
- extends Object
- implements RemoteFileCache
- Author:
- Alexey Ragozin (alexey.ragozin@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SftFileCache
public SftFileCache(Session session,
String cachePath,
boolean useRelativePaths,
int concurency)
throws JSchException,
InterruptedException,
SftpException
- Throws:
JSchException
InterruptedException
SftpException
upload
public String upload(FileBlob blob)
- Specified by:
upload in interface RemoteFileCache
upload
public List<String> upload(List<? extends FileBlob> blobs)
- Specified by:
upload in interface RemoteFileCache
close
public void close()
Copyright © 2017. All Rights Reserved.