protected class SftpFileSystem.SftpClientPool extends Object
SftpClients. The pool has a maximum size and an optional minimum size, and can optionally
expire idle channels from the pool.| Constructor and Description |
|---|
SftpClientPool(int maxSize,
Duration idleLifeTime,
int coreSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
offer(SftpClient client) |
SftpClient |
poll() |
public SftpClientPool(int maxSize,
Duration idleLifeTime,
int coreSize)
public void close()
public SftpClient poll()
public boolean offer(SftpClient client)
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.