@Override
    public int compareTo(Delayed o) {
      WatchedPathInfo other = (WatchedPathInfo)o;
      if (other.expiry > this.expiry) {
        return -1;
      } else if (other.expiry < this.expiry) {
        return 1;
      } else {
        return 0;
      }
    }
Invoke when a pathIdentifier has been found, or is no longer of interest
@param pathIdentifier
llap-server/src/java/org/apache/hadoop/hive/llap/shufflehandler/DirWatcher.java