public static class FileSystem.Cache extends Object
FileSystem clients. This should only be used by the Factory class.| Constructor and Description |
|---|
Cache() |
| Modifier and Type | Method and Description |
|---|---|
FileSystem |
get(FileSystem.FileSystemKey key)
Gets a
FileSystem from the cache. |
FileSystem |
remove(FileSystem.FileSystemKey key)
Removes the client with the given key from the cache.
|
public FileSystem get(FileSystem.FileSystemKey key)
FileSystem from the cache. If there is none, one is created, inserted into
the cache, and returned back to the user.key - the key to retrieve a FileSystemFileSystem associated with the keypublic FileSystem remove(FileSystem.FileSystemKey key)
key - the client key to removeCopyright © 2024. All Rights Reserved.