Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-337

Consider allowing XnioWorker.Builder to take Executor

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently setExternalExecutorService requires an ExecutorService, however only the Executor.execute method is required.
      Would it be reasonable to provide a builder method "setExternalExecutor(Executor)" to allow executor implementations which do not implement ExecutorService?

      The workaround is to implement a dummy ExecutorService in my project which only needs to provide an execute method.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ckozak Carter Kozak
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: