Uses of Class
org.elasticsearch.index.engine.Engine.HistorySource
-
Packages that use Engine.HistorySource Package Description org.elasticsearch.index.engine org.elasticsearch.index.shard -
-
Uses of Engine.HistorySource in org.elasticsearch.index.engine
Methods in org.elasticsearch.index.engine that return Engine.HistorySource Modifier and Type Method Description static Engine.HistorySourceEngine.HistorySource. valueOf(String name)Returns the enum constant of this type with the specified name.static Engine.HistorySource[]Engine.HistorySource. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.elasticsearch.index.engine with parameters of type Engine.HistorySource Modifier and Type Method Description abstract CloseableEngine. acquireHistoryRetentionLock(Engine.HistorySource historySource)Acquires a lock on the translog files and Lucene soft-deleted documents to prevent them from being trimmedCloseableInternalEngine. acquireHistoryRetentionLock(Engine.HistorySource historySource)CloseableReadOnlyEngine. acquireHistoryRetentionLock(Engine.HistorySource historySource)abstract intEngine. estimateNumberOfHistoryOperations(String reason, Engine.HistorySource historySource, MapperService mapperService, long startingSeqNo)Returns the estimated number of history operations whose seq# at leaststartingSeqNo(inclusive) in this engine.intInternalEngine. estimateNumberOfHistoryOperations(String reason, Engine.HistorySource historySource, MapperService mapperService, long startingSeqNo)Returns the estimated number of history operations whose seq# at least the provided seq# in this engine.intReadOnlyEngine. estimateNumberOfHistoryOperations(String reason, Engine.HistorySource historySource, MapperService mapperService, long startingSeqNo)abstract booleanEngine. hasCompleteOperationHistory(String reason, Engine.HistorySource historySource, MapperService mapperService, long startingSeqNo)Checks if this engine has every operations sincestartingSeqNo(inclusive) in its history (either Lucene or translog)booleanInternalEngine. hasCompleteOperationHistory(String reason, Engine.HistorySource historySource, MapperService mapperService, long startingSeqNo)booleanReadOnlyEngine. hasCompleteOperationHistory(String reason, Engine.HistorySource historySource, MapperService mapperService, long startingSeqNo)abstract Translog.SnapshotEngine. readHistoryOperations(String reason, Engine.HistorySource historySource, MapperService mapperService, long startingSeqNo)Creates a new history snapshot for reading operations sincestartingSeqNo(inclusive).Translog.SnapshotInternalEngine. readHistoryOperations(String reason, Engine.HistorySource historySource, MapperService mapperService, long startingSeqNo)Creates a new history snapshot for reading operations since the provided seqno.Translog.SnapshotReadOnlyEngine. readHistoryOperations(String reason, Engine.HistorySource historySource, MapperService mapperService, long startingSeqNo) -
Uses of Engine.HistorySource in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard with parameters of type Engine.HistorySource Modifier and Type Method Description CloseableIndexShard. acquireHistoryRetentionLock(Engine.HistorySource source)Acquires a lock on the translog files and Lucene soft-deleted documents to prevent them from being trimmedintIndexShard. estimateNumberOfHistoryOperations(String reason, Engine.HistorySource source, long startingSeqNo)Returns the estimated number of history operations whose seq# at least the provided seq# in this shard.Translog.SnapshotIndexShard. getHistoryOperations(String reason, Engine.HistorySource source, long startingSeqNo)Creates a new history snapshot for reading operations since the provided starting seqno (inclusive).booleanIndexShard. hasCompleteHistoryOperations(String reason, Engine.HistorySource source, long startingSeqNo)Checks if we have a completed history of operations since the given starting seqno (inclusive).
-