| 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(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 |
|---|---|
Map<MergePolicy.OneMergeProgress.PauseReason,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,
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-2021 Apache Software Foundation. All Rights Reserved.