public class RolapResultShepherd extends Object
RolapConnection
. It specializes in
shepherding the creation of RolapResult by running the actual execution
on a separate thread from the user thread so we can:
Constructor and Description |
---|
RolapResultShepherd() |
Modifier and Type | Method and Description |
---|---|
Result |
shepherdExecution(Execution execution,
Callable<Result> callable)
Executes and shepherds the execution of an Execution instance.
|
void |
shutdown() |
public Result shepherdExecution(Execution execution, Callable<Result> callable)
execution
- An Execution instance.callable
- A callable to monitor returning a Result instance.ResourceLimitExceededException
- if some resource limit specified
in the property file was exceededQueryCanceledException
- if query was canceled during executionQueryTimeoutException
- if query exceeded timeout specified in
the property filepublic void shutdown()
Copyright © 2018 Hitachi Vantara. All rights reserved.