Uses of Enum
org.apache.lucene.index.MergePolicy.OneMergeProgress.PauseReason
-
Uses of MergePolicy.OneMergeProgress.PauseReason in org.apache.lucene.index
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.MergePolicy.OneMergeProgress.PauseReason.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionMergePolicy.OneMergeProgress.getPauseTimes()
Returns pause reasons and associated times in nanoseconds.Modifier and TypeMethodDescriptionvoid
MergePolicy.OneMergeProgress.pauseNanos
(long pauseNanos, MergePolicy.OneMergeProgress.PauseReason reason, BooleanSupplier condition) Pauses the calling thread for at leastpauseNanos
nanoseconds unless the merge is aborted or the external condition returnsfalse
, in which case control returns immediately.