public class ThreadExecutorSubreportRunner extends AbstractThreadSubreportRunner
JRSubreportRunner
implementation.
The subreport fill is launched in a new thread which coordinates suspend/resume actions with the master thread.
EXCEPTION_MESSAGE_KEY_THREAD_REPORT_RUNNER_WAIT_ERROR, EXCEPTION_MESSAGE_KEY_THREAD_SUBREPORT_RUNNER_WAIT_ERROR, subreportFiller| Constructor and Description |
|---|
ThreadExecutorSubreportRunner(JRFillSubreport fillSubreport,
JRBaseFiller subreportFiller,
Executor threadExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
boolean |
isFilling()
Decides whether the subreport filling has ended or not.
|
void |
reset()
Resets the runner, preparing it for a new fill.
|
cancel, resume, run, start, suspend, waitResultisRunning, runResultpublic ThreadExecutorSubreportRunner(JRFillSubreport fillSubreport, JRBaseFiller subreportFiller, Executor threadExecutor)
public boolean isFilling()
JRSubreportRunnertrue if and only if the subreport filling has not endedprotected void doStart()
doStart in class AbstractThreadSubreportRunnerpublic void reset()
JRSubreportRunnerCopyright © 2017. All rights reserved.