| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static interface | FileSystemPool.Listener
Listener for pool events |
| public static class | |
| public static class | FileSystemPool.StackLoggingListener
Show a StackTrace |
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| public static final FileSystemPool | |
| private FileSystemPool. | |
| private static final Logger | |
| private final Map | |
| private final AutoLock |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | dump(Appendable
The appendable to dump to out, String The indent to apply after any new lines. indent)Implements org. |
| pack-priv int | Returns: the reference count on that URIthe filesystem URI to fetch fsUri)Only used to test the reference count value for a URI during unit testing. |
| pack-priv FileSystemPool. | |
| public Collection | |
| private void | |
| public void | setListener(FileSystemPool.
the listener for pool events listenerSet a listener on the FileSystemPool to monitor for pool events. |
| public void | |
| private URI | |
| private void |
| ENV_MULTIRELEASE_RUNTIME | back to summary |
|---|---|
| private static final Map<String, String> ENV_MULTIRELEASE_RUNTIME | |
| INSTANCE | back to summary |
|---|---|
| public static final FileSystemPool INSTANCE | |
| listener | back to summary |
|---|---|
| private FileSystemPool. | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| pool | back to summary |
|---|---|
| private final Map<URI, FileSystemPool. | |
| poolLock | back to summary |
|---|---|
| private final AutoLock poolLock | |
| FileSystemPool | back to summary |
|---|---|
| private FileSystemPool() | |
| dump | back to summary |
|---|---|
| public void dump(Appendable out, String indent) throws IOException Implements org. Doc from org. Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
| |
| getReferenceCount | back to summary |
|---|---|
| pack-priv int getReferenceCount(URI fsUri) Only used to test the reference count value for a URI during unit testing.
| |
| mount | back to summary |
|---|---|
| pack-priv FileSystemPool. | |
| mounts | back to summary |
|---|---|
public Collection
| |
| retain | back to summary |
|---|---|
| private void retain(URI fsUri, FileSystem fileSystem, FileSystemPool. | |
| setListener | back to summary |
|---|---|
| public void setListener(FileSystemPool. Set a listener on the FileSystemPool to monitor for pool events.
| |
| sweep | back to summary |
|---|---|
public void sweep()
| |
| toJarURIRoot | back to summary |
|---|---|
| private URI toJarURIRoot(URI uri) | |
| unmount | back to summary |
|---|---|
| private void unmount(URI fsUri) | |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicInteger | |
| private final FileSystem | |
| private final FileTime | |
| private final FileSystemPool. | |
| private final Path | |
| private final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| counter | back to summary |
|---|---|
| private final AtomicInteger counter | |
| fileSystem | back to summary |
|---|---|
| private final FileSystem fileSystem | |
| lastModifiedTime | back to summary |
|---|---|
| private final FileTime lastModifiedTime | |
| mount | back to summary |
|---|---|
| private final FileSystemPool. | |
| path | back to summary |
|---|---|
| private final Path path | |
| size | back to summary |
|---|---|
| private final long size | |
| Bucket | back to summary |
|---|---|
| private Bucket(URI fsUri, FileSystem fileSystem, FileSystemPool. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | onDecrement(URI
the filesystem URI fsUri)FileSystem URI exists in the pool and its reference count is decremented |
| public void | onIncrement(URI
the filesystem URI fsUri)FileSystem URI exists in the pool and its reference count is incremented |
| public void |
| onClose | back to summary |
|---|---|
| public void onClose(URI fsUri) FileSystem URI exists in the pool and reached no references and has been closed
| |
| onDecrement | back to summary |
|---|---|
| public void onDecrement(URI fsUri) FileSystem URI exists in the pool and its reference count is decremented
| |
| onIncrement | back to summary |
|---|---|
| public void onIncrement(URI fsUri) FileSystem URI exists in the pool and its reference count is incremented
| |
| onRetain | back to summary |
|---|---|
| public void onRetain(URI fsUri) FileSystem URI is retained for the first time
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. |
| public Resource | |
| public String |
| fsUri | back to summary |
|---|---|
| private final URI fsUri | |
| root | back to summary |
|---|---|
| private final Resource root | |
| Mount | back to summary |
|---|---|
| private Mount(URI fsUri, Resource resource) | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| root | back to summary |
|---|---|
| public Resource root() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | onClose(URI
the filesystem URI uri)Implements org. |
| public void | onDecrement(URI
the filesystem URI uri)Implements org. |
| public void | onIncrement(URI
the filesystem URI uri)Implements org. |
| public void | onRetain(URI
the filesystem URI uri)Implements org. |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| StackLoggingListener | back to summary |
|---|---|
| public StackLoggingListener() | |
| onClose | back to summary |
|---|---|
| public void onClose(URI uri) Implements org. Doc from org. FileSystem URI exists in the pool and reached no references and has been closed | |
| onDecrement | back to summary |
|---|---|
| public void onDecrement(URI uri) Implements org. Doc from org. FileSystem URI exists in the pool and its reference count is decremented | |
| onIncrement | back to summary |
|---|---|
| public void onIncrement(URI uri) Implements org. Doc from org. FileSystem URI exists in the pool and its reference count is incremented | |
| onRetain | back to summary |
|---|---|
| public void onRetain(URI uri) Implements org. Doc from org. FileSystem URI is retained for the first time | |