Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Method and Description |
---|---|
static MergePolicy.OneMergeProgress.PauseReason |
MergePolicy.OneMergeProgress.PauseReason.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MergePolicy.OneMergeProgress.PauseReason[] |
MergePolicy.OneMergeProgress.PauseReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<MergePolicy.OneMergeProgress.PauseReason,java.lang.Long> |
MergePolicy.OneMergeProgress.getPauseTimes()
Returns pause reasons and associated times in nanoseconds.
|
Modifier and Type | Method and Description |
---|---|
void |
MergePolicy.OneMergeProgress.pauseNanos(long pauseNanos,
MergePolicy.OneMergeProgress.PauseReason reason,
java.util.function.BooleanSupplier condition)
Pauses the calling thread for at least
pauseNanos nanoseconds
unless the merge is aborted or the external condition returns false ,
in which case control returns immediately. |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.