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,
java.util.concurrent.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, waitResult
isRunning, runResult
public ThreadExecutorSubreportRunner(JRFillSubreport fillSubreport, JRBaseFiller subreportFiller, java.util.concurrent.Executor threadExecutor)
public boolean isFilling()
JRSubreportRunner
true
if and only if the subreport filling has not endedprotected void doStart()
doStart
in class AbstractThreadSubreportRunner
public void reset()
JRSubreportRunner
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com