Package org.eclipse.jetty.util.resource
Interface FileSystemPool.Listener
- All Known Implementing Classes:
FileSystemPool.StackLoggingListener
- Enclosing class:
- FileSystemPool
public static interface FileSystemPool.Listener
Listener for pool events
-
Method Summary
Modifier and TypeMethodDescriptionvoid
FileSystem URI exists in the pool and reached no references and has been closedvoid
onDecrement
(URI fsUri) FileSystem URI exists in the pool and its reference count is decrementedvoid
onIncrement
(URI fsUri) FileSystem URI exists in the pool and its reference count is incrementedvoid
FileSystem URI is retained for the first time
-
Method Details
-
onRetain
FileSystem URI is retained for the first time- Parameters:
fsUri
- the filesystem URI
-
onIncrement
FileSystem URI exists in the pool and its reference count is incremented- Parameters:
fsUri
- the filesystem URI
-
onDecrement
FileSystem URI exists in the pool and its reference count is decremented- Parameters:
fsUri
- the filesystem URI
-
onClose
FileSystem URI exists in the pool and reached no references and has been closed- Parameters:
fsUri
- the filesystem URI
-