public class RecoveringCoreTermWatcher extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
onTermChanged(ShardTerms terms)
Invoked with a Terms instance after update.
|
public boolean onTermChanged(ShardTerms terms)
Concurrent invocations of this method is not allowed so at a given time only one thread will invoke this method.
Note - there is no guarantee that the terms version will be strictly monotonic i.e. an invocation with a newer terms version can be followed by an invocation with an older terms version. Implementations are required to be resilient to out-of-order invocations.
terms
- instanceCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.