Java synchronization between different JVMs

前端 未结 5 1134
醉话见心
醉话见心 2021-02-08 00:36

The project I am working on would trigger various asynchronous jobs to do some work. As I look into it more these asynchronous jobs are actually being run as separate JVMs (sepa

5条回答
  •  天命终不由人
    2021-02-08 01:08

    they are all thread-level?

    That's correct, synchronized etc only work within the context of a single process.

    Does Java provide support for IPC like semaphores between processes?

    One way to implement communication between Java processes is using RMI.

提交回复
热议问题