|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.layout.output.YieldReportListener
public class YieldReportListener
A report listener that calls Thread.yield() on each generated event. Although this slows down the report processing a bit, this also makes the application a lot more responsive as the report-thread does no longer block the CPU all the time.
| Constructor Summary | |
|---|---|
YieldReportListener()
|
|
YieldReportListener(int rate)
|
|
| Method Summary | |
|---|---|
int |
getRate()
|
void |
reportProcessingFinished(ReportProgressEvent event)
Receives a notification that the report processing was finished. |
void |
reportProcessingStarted(ReportProgressEvent event)
Receives a notification that the report processing has started. |
void |
reportProcessingUpdate(ReportProgressEvent event)
Receives a notification that the report processing made some progress. |
void |
setRate(int rate)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public YieldReportListener()
public YieldReportListener(int rate)
| Method Detail |
|---|
public int getRate()
public void setRate(int rate)
public void reportProcessingStarted(ReportProgressEvent event)
ReportProgressListener
reportProcessingStarted in interface ReportProgressListenerevent - the start event.public void reportProcessingFinished(ReportProgressEvent event)
ReportProgressListener
reportProcessingFinished in interface ReportProgressListenerevent - the finish event.public void reportProcessingUpdate(ReportProgressEvent event)
ReportProgressListener
reportProcessingUpdate in interface ReportProgressListenerevent - the update event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||