|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InteractiveReportTaskService
InteractiveReportTaskService provides methods to control some aspects those running interactive reports.
User can call jet.server.api.RptServer.getInteractiveReportTaskService() to get instance of this interface.
| Method Summary | |
|---|---|
void |
fireEvent(boolean spreadOnCluster,
ActionEvent... event)
Fires one or more ActionEvent. For example: |
| Method Detail |
|---|
void fireEvent(boolean spreadOnCluster,
ActionEvent... event)
throws ActionEventException
RptServer server = HttpUtil.getHttpRptServer(); InteractiveReportTaskService service = server.getInteractiveReportTaskService(); Mapprops = new HashMap(); props.put(KEEP_LAST_RECORDS, 10); props.put(REFRESH_INTERVAL, 10000L); service.fireEvent(true, new RealtimeChartEvent("admin", null, null, null, props));
spreadOnCluster - true will spread event on all of cluster nodes (if cluster is enabled), otherwise only fire event on the connected server.event - ActionEvent to be fired.
ActionEventException - performed event on the target occurs exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||