Class FileSystemPool

java.lang.Object
org.eclipse.jetty.util.resource.FileSystemPool
All Implemented Interfaces:
Dumpable

@ManagedObject("Pool of FileSystems used to mount Resources") @Deprecated(since="12.1.9", forRemoval=true) public class FileSystemPool extends Object implements Dumpable
Deprecated, for removal: This API element is subject to removal in a future version.
FileSystemPool is no longer used.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    Deprecated, for removal: This API element is subject to removal in a future version.
    Listener for pool events
    static class 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static class 
    Deprecated, for removal: This API element is subject to removal in a future version.
    Show a StackTrace

    Nested classes/interfaces inherited from interface Dumpable

    Dumpable.DumpableContainer, Dumpable.DumpAppendable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FileSystemPool
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Fields inherited from interface Dumpable

    LEGEND
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dump(Appendable out, String indent)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Dump this object (and children) into an Appendable using the provided indent after any new lines.
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Set a listener on the FileSystemPool to monitor for pool events.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface Dumpable

    dump, dumpSelf
  • Field Details

    • INSTANCE

      public static final FileSystemPool INSTANCE
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • mounts

      @ManagedAttribute("The mounted FileSystems") public Collection<FileSystemPool.Mount> mounts()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • dump

      public void dump(Appendable out, String indent) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Dumpable
      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.
      Specified by:
      dump in interface Dumpable
      Parameters:
      out - The appendable to dump to
      indent - The indent to apply after any new lines.
      Throws:
      IOException - if unable to write to Appendable
    • sweep

      @ManagedOperation(value="Sweep the pool for deleted mount points", impact="ACTION") public void sweep()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setListener

      public void setListener(FileSystemPool.Listener listener)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set a listener on the FileSystemPool to monitor for pool events.
      Parameters:
      listener - the listener for pool events
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object