Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jet.server.api.ria
Interface InteractiveReportTaskService

    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

### fireEvent

    void fireEvent(boolean spreadOnCluster,
                   ActionEvent... event)
                   throws ActionEventException

  Fires one or more ActionEvent.
  For example:

       RptServer server = HttpUtil.getHttpRptServer();
       InteractiveReportTaskService service = server.getInteractiveReportTaskService();
       Map props = new HashMap();
       props.put(KEEP_LAST_RECORDS, 10);
       props.put(REFRESH_INTERVAL, 10000L);
       service.fireEvent(true, new RealtimeChartEvent("admin", null, null, null, props));

  Parameters:
    `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.
  Throws:
    `ActionEventException` - performed event on the target occurs exception.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD