public static class TimeLimitedCollector.TimeExceededException extends RuntimeException
Modifier and Type | Method and Description |
---|---|
int |
getLastDocCollected()
Returns last doc 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
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.