Is it possible to interrupt a Java RMI call?

后端 未结 4 2077
旧时难觅i
旧时难觅i 2021-02-08 02:18

We\'re doing some prototyping work and we\'re wondering if it is possible to interrupt a thread that performed an RMI call. If we call interrupt() on this thread, would it throw

4条回答
  •  迷失自我
    2021-02-08 02:46

    java.util.concurrant is clearly a typo, which should be java.util.concurrent.

    But more importantly, I don't see java.util.concurrent.ExecutorService anywhere. Did you mean java.util.concurrent.ExecutorCompletionService ?

提交回复
热议问题