Class TruncateTranslogAction

org.elasticsearch.index.translog.TruncateTranslogAction

public class TruncateTranslogAction extends
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static org.apache.logging.log4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TruncateTranslogAction​(org.elasticsearch.common.xcontent.NamedXContentRegistry namedXContentRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute​(org.elasticsearch.cli.Terminal terminal, ShardPath shardPath, org.apache.lucene.store.Directory indexDirectory)
     
    org.elasticsearch.core.Tuple<>
    getCleanStatus​(ShardPath shardPath, ClusterState clusterState, org.apache.lucene.store.Directory indexDirectory)
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Field Details

    • logger

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

    • TruncateTranslogAction

      public TruncateTranslogAction(org.elasticsearch.common.xcontent.NamedXContentRegistry namedXContentRegistry)
  • Method Details

    • getCleanStatus

      public org.elasticsearch.core.Tuple<> getCleanStatus(ShardPath shardPath, ClusterState clusterState, org.apache.lucene.store.Directory indexDirectory) throws
      Throws:
    • execute

      public void execute(org.elasticsearch.cli.Terminal terminal, ShardPath shardPath, org.apache.lucene.store.Directory indexDirectory) throws
      Throws: