Interface CEPEsperProcessor.ProcessingDelegate

  • All Known Implementing Classes:
    CEPEsperProcessor.ExternalTimeDelegate, CEPEsperProcessor.RegularDelegate
    Enclosing class:
    CEPEsperProcessor

    private static interface CEPEsperProcessor.ProcessingDelegate
    Basic interface to describe a data flow processing delegate. This is going to be used by both the "straight-through to Esper" delegate and by the {#link ExternalTimeDelegate} that will behave differently in when external time is being used.
    • Method Detail

      • cancelRequest

        void cancelRequest​(DataFlowID inFlowID,
                           RequestID inRequestID)
        Cancels all existing and pending requests.
        Parameters:
        inFlowID - the flowID of the data flow to cancel.
        inRequestID - the requestID of the data flow to cancel.
      • preProcessData

        void preProcessData​(DataFlowID inFlowID,
                            Object inData)
                     throws StopDataFlowException
        Invoked to allow every delegate to pre-process data before it is delivered to the esper runtime.
        Parameters:
        inFlowID - the data flowID.
        inData - the received data.
        Throws:
        StopDataFlowException - if the data flow should be stopped.