/** * This method represents an input port for both operation execution and flow records. * * @param record * The next record. */ @InputPort(name = INPUT_PORT_NAME_COMBINED, description = "Receives execution and trace events to be selected by trace ID", eventTypes = { ITraceRecord.class, TraceMetadata.class, OperationExecutionRecord.class }) public void inputCombined(final IMonitoringRecord record) { if (record instanceof OperationExecutionRecord) { this.inputOperationExecutionRecord((OperationExecutionRecord) record); } else if ((record instanceof ITraceRecord) || (record instanceof TraceMetadata)) { this.inputTraceEvent((IFlowRecord) record); } // else discard it, we should never have gotten it anyhow }
/** * This method represents an input port for both operation execution and flow records. * * @param record * The next record. */ @InputPort(name = INPUT_PORT_NAME_COMBINED, description = "Receives execution and trace events to be selected by trace ID", eventTypes = { ITraceRecord.class, TraceMetadata.class, OperationExecutionRecord.class }) public void inputCombined(final IMonitoringRecord record) { if (record instanceof OperationExecutionRecord) { this.inputOperationExecutionRecord((OperationExecutionRecord) record); } else if ((record instanceof ITraceRecord) || (record instanceof TraceMetadata)) { this.inputTraceEvent((IFlowRecord) record); } // else discard it, we should never have gotten it anyhow }