• Post Reply Bookmark Topic Watch Topic
  • New Topic

Locking, client ID and thread number  RSS feed

 
Charles Dupin
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The RMI specification says: The RMI run-time makes no guarantee with respect to mapping remote object invocations to threads.....
I have, in this project, associated at server side, client ID with thread number. (I suppose that in a wait() the thread is not going to be used elsewhere by the RMI runtime). Is this bad design?
Thanks
Charles
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Liek you read you cannot guarantee anything with that thread ID.
Do a search on Connection Object and you will find a plethora of information.
Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!