Class SnapshotFiles


  • public class SnapshotFiles
    extends java.lang.Object
    Contains a list of files participating in a snapshot
    • Method Detail

      • snapshot

        public java.lang.String snapshot()
      • containPhysicalIndexFile

        public boolean containPhysicalIndexFile​(java.lang.String physicalName)
        Returns true if this snapshot contains a file with a given original name
        Parameters:
        physicalName - original file name
        Returns:
        true if the file was found, false otherwise
      • findPhysicalIndexFile

        public BlobStoreIndexShardSnapshot.FileInfo findPhysicalIndexFile​(java.lang.String physicalName)
        Returns information about a physical file with the given name
        Parameters:
        physicalName - the original file name
        Returns:
        information about this file