org.gridkit.vicluster.telecontrol.ssh
Class SftFileCache

java.lang.Object
  extended by org.gridkit.vicluster.telecontrol.ssh.SftFileCache
All Implemented Interfaces:
RemoteFileCache

public class SftFileCache
extends Object
implements RemoteFileCache

Author:
Alexey Ragozin (alexey.ragozin@gmail.com)

Constructor Summary
SftFileCache(Session session, String cachePath, boolean useRelativePaths, int concurency)
           
 
Method Summary
 void close()
           
 String upload(FileBlob blob)
           
 List<String> upload(List<? extends FileBlob> blobs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SftFileCache

public SftFileCache(Session session,
                    String cachePath,
                    boolean useRelativePaths,
                    int concurency)
             throws JSchException,
                    InterruptedException,
                    SftpException
Throws:
JSchException
InterruptedException
SftpException
Method Detail

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.