public interface TimeoutManager
Modifier and Type | Interface and Description |
---|---|
static class |
TimeoutManager.Type |
Modifier and Type | Method and Description |
---|---|
Long |
getTimeoutLeftInMilliseconds() |
Long |
getTimeoutLeftInSeconds() |
TimeoutManager.Type |
getType() |
boolean |
hasPartialResults() |
boolean |
isTimedOut() |
void |
limitFetchingOnTimeout() |
void |
raiseExceptionOnTimeout() |
void |
reactOnQueryTimeoutExceptionWhileExtracting(RuntimeException e) |
void |
setTimeout(long timeout,
TimeUnit timeUnit) |
void |
start() |
void |
stop() |
void start()
Long getTimeoutLeftInMilliseconds()
Long getTimeoutLeftInSeconds()
boolean isTimedOut()
void stop()
void setTimeout(long timeout, TimeUnit timeUnit)
void raiseExceptionOnTimeout()
void limitFetchingOnTimeout()
void reactOnQueryTimeoutExceptionWhileExtracting(RuntimeException e)
boolean hasPartialResults()
TimeoutManager.Type getType()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved