Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4346 Implement basic RPC abstraction
  3. FLINK-4386

Add as way to assert that code runs in the RpcEndpoint's Main Thread

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 1.2.0
    • Runtime / Coordination
    • None
    • FLIP-6 feature branch

    Description

      It would greatly help stability if we were able to add assertions to the code, like

      private void someCallbackHandler() {
          assert isRunningInMainThread()
      }
      

      Attachments

        Activity

          People

            sewen Stephan Ewen
            sewen Stephan Ewen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: