Java RMI - Client Timeout

前端 未结 4 1552
走了就别回头了
走了就别回头了 2020-11-30 05:53

I\'m building a Distributed System using Java RMI and it must support a server loss.

If my client is connected to a Server using RMI, if this server goes down (cable

4条回答
  •  遥遥无期
    2020-11-30 06:39

    There is a system property that you can set.
    Something like sun.rmi.transport.connectionTimeout

    They are detailed here:
    https://docs.oracle.com/javase/7/docs/technotes/guides/rmi/sunrmiproperties.html

提交回复
热议问题