Class SnapshotFileCache.SnapshotDirectoryInfo

java.lang.Object
org.apache.hadoop.hbase.master.snapshot.SnapshotFileCache.SnapshotDirectoryInfo
Enclosing class:
SnapshotFileCache

private static class SnapshotFileCache.SnapshotDirectoryInfo extends Object
Information about a snapshot directory
  • Field Details

  • Constructor Details

  • Method Details

    • getFiles

      Returns the hfiles in the snapshot when this was made.
    • hasBeenModified

      public boolean hasBeenModified(long mtime)
      Check if the snapshot directory has been modified
      Parameters:
      mtime - current modification time of the directory
      Returns:
      true if it the modification time of the directory is newer time when we created this