|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SftpSessionPool
Holds instances of SftpSession since they are stateful
and might be in use while another operation runs.
| Method Summary | |
|---|---|
SftpSession |
getSession()
Returns a session that can be used to connect to an sftp instance and perform operations |
void |
release(SftpSession session)
Releases the session. |
| Method Detail |
|---|
SftpSession getSession()
throws java.lang.Exception
java.lang.Exception - if any fault occurs when trying to connect to the remote servervoid release(SftpSession session)
session - the session to relinquish / renew
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||