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 Type
    Method
    Description
    void
    onClose(URI fsUri)
    FileSystem URI exists in the pool and reached no references and has been closed
    void
    FileSystem URI exists in the pool and its reference count is decremented
    void
    FileSystem URI exists in the pool and its reference count is incremented
    void
    onRetain(URI fsUri)
    FileSystem URI is retained for the first time
  • Method Details

    • onRetain

      void onRetain(URI fsUri)
      FileSystem URI is retained for the first time
      Parameters:
      fsUri - the filesystem URI
    • onIncrement

      void onIncrement(URI fsUri)
      FileSystem URI exists in the pool and its reference count is incremented
      Parameters:
      fsUri - the filesystem URI
    • onDecrement

      void onDecrement(URI fsUri)
      FileSystem URI exists in the pool and its reference count is decremented
      Parameters:
      fsUri - the filesystem URI
    • onClose

      void onClose(URI fsUri)
      FileSystem URI exists in the pool and reached no references and has been closed
      Parameters:
      fsUri - the filesystem URI