Class DefaultFileMonitor.FileMonitorAgent

  • Enclosing class:
    DefaultFileMonitor

    private static final class DefaultFileMonitor.FileMonitorAgent
    extends java.lang.Object
    File monitor agent.
    • Field Detail

      • exists

        private boolean exists
      • timestamp

        private long timestamp
      • children

        private java.util.Map<FileName,​java.lang.Object> children
    • Method Detail

      • resetChildrenList

        private void resetChildrenList()
      • refresh

        private void refresh()
        Clear the cache and re-request the file object
      • fireAllCreate

        private void fireAllCreate​(FileObject child)
        Recursively fires create events for all children if recursive descent is enabled. Otherwise the create event is only fired for the initial FileObject.
        Parameters:
        child - The child to add.
      • checkForNewChildren

        private void checkForNewChildren()
        Only checks for new children. If children are removed, they'll eventually be checked.
      • check

        private void check()