• Post Reply Bookmark Topic Watch Topic
  • New Topic

distinguish the client in Lock()

 
Ying Ren
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tracked a lot of thread here about the clientID. Why don't use the RemoteDataAccess directly? I think every client will produce the different RemoteDataAccess.
PS: I have ConnectFactory which will return the new RemoteDataAccess object for every client.
Ying Ren
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes that object can be used as a ClientID, and if you will read about some of the posts on LockManager, that is exactly what they pass to its lock method, is the record number and the RemoetDataAccess class.
Mark
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!