public interface FTPPool
Modifier and Type | Method and Description |
---|---|
void |
clear()
clears all connection from pool
|
org.apache.commons.net.ftp.FTPClient |
get(FTPConnection conn)
returns a FTPClient from the pool, if no matching exist, create a new one
|
org.apache.commons.net.ftp.FTPClient |
remove(FTPConnection conn)
removes a FTPConnectionPro from pool andreturn it (disconnected)
|
org.apache.commons.net.ftp.FTPClient |
remove(String name)
removes a FTPConnectionPro from pool andreturn it (disconnected)
|
org.apache.commons.net.ftp.FTPClient get(FTPConnection conn) throws IOException, PageException
conn
- IOException
PageException
org.apache.commons.net.ftp.FTPClient remove(FTPConnection conn)
conn
- org.apache.commons.net.ftp.FTPClient remove(String name)
name
- Name of the connection to removevoid clear()
Copyright © 2015 Lucee