Package org.elasticsearch.index.translog
Class TruncateTranslogAction
org.elasticsearch.index.translog.TruncateTranslogAction
public class TruncateTranslogAction
extends
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTruncateTranslogAction(org.elasticsearch.common.xcontent.NamedXContentRegistry namedXContentRegistry)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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:
-