public static class TimeLimitingCollector.TimeExceededException extends RuntimeException
Modifier and Type | Method and Description |
---|---|
int |
getLastDocCollected()
Returns last doc (absolute doc id) that was collected when the search time exceeded.
|
long |
getTimeAllowed()
Returns allowed time (milliseconds).
|
long |
getTimeElapsed()
Returns elapsed time (milliseconds).
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public long getTimeAllowed()
public long getTimeElapsed()
public int getLastDocCollected()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.