This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes Can we have a timeout for an RMI call? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Can we have a timeout for an RMI call?" Watch "Can we have a timeout for an RMI call?" New topic
Author

Can we have a timeout for an RMI call?

vn us
Ranch Hand

Joined: Dec 27, 2002
Posts: 33
can we configure timeout for an rmi call?
if yes then how ??
Any comment is greatly appriciated
Thanks,
VN
raimondas zemaitis
Ranch Hand

Joined: Feb 23, 2001
Posts: 104
there is no built in timeout mechanizm. You have to implement your own. Make separate Thread which connects to rmi registry and watch it from the main thread, if call doesn't return in some specified time, kill that thread and do other stuff that is required.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we have a timeout for an RMI call?