Serializable
public static class TimeLimitingCollector.TimeExceededException extends RuntimeException
Modifier and Type | Method | 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).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public long getTimeAllowed()
public long getTimeElapsed()
public int getLastDocCollected()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.