SftpPath that can cache SftpClient.Attributes.
| Modifier and Type | Field and Description |
|---|---|
| private SftpClient. | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | cacheAttributes(boolean
whether to start caching (increasing the cache level) or to stop caching (decreasing the cache
level) doCache)
|
| public SftpClient. | getAttributes()
Overrides org. Implements org. Retrieves the |
| public void | setAttributes(SftpClient.
SftpClient. to setImplements org. Sets the attributes. |
| public <T> T | withAttributeCache(IOFunction<Path, T>
to perform; may return operation)null if it has no resultImplements org. Performs the given operation with attribute caching. |
| attributes | back to summary |
|---|---|
| private SftpClient. | |
| cachingLevel | back to summary |
|---|---|
| private int cachingLevel | |
| SftpPathImpl | back to summary |
|---|---|
| public SftpPathImpl(SftpFileSystem fileSystem, String root, List<String> names) | |
| cacheAttributes | back to summary |
|---|---|
| protected void cacheAttributes(boolean doCache)
Each call of
Client code should use
| |
| getAttributes | back to summary |
|---|---|
| public SftpClient. Overrides org. Implements org. Doc from org. Retrieves the
| |
| setAttributes | back to summary |
|---|---|
| public void setAttributes(SftpClient. Implements org. Doc from org. Sets the attributes.
| |
| withAttributeCache | back to summary |
|---|---|
| public <T> T withAttributeCache(IOFunction<Path, T> operation) throws IOException Implements org. Doc from org. Performs the given operation with attribute caching. If
| |