Class TruncateTranslogAction


  • public class TruncateTranslogAction
    extends java.lang.Object
    • Field Detail

      • logger

        protected static final org.apache.logging.log4j.Logger logger
    • Constructor Detail

    • Method Detail

      • execute

        public void execute​(Terminal terminal,
                            ShardPath shardPath,
                            org.apache.lucene.store.Directory indexDirectory)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • filesInDirectory

        public static java.util.Set<java.nio.file.Path> filesInDirectory​(java.nio.file.Path directory)
                                                                  throws java.io.IOException
        Return a Set of all files in a given directory
        Throws:
        java.io.IOException