0 Replies Latest reply on Apr 12, 2006 5:44 PM by Kevin Urciolo

    Read Locking Nodes

    Kevin Urciolo Newbie

      I have clients that will be indirectly pulling information from a jboss cache distributed between two machines through http requests. I want the client to read the data from the node. I then want to remove that node as soon as the response is finished with the client.

      I want to prevent the possibility of that client then immediately connecting to the other machine and pulling that node before it has been deleted. How would I do that? I want to wait to delete the node until I am sure the response has been successfully received by the client. However, I don't want the client having the ability to slip in and read that node again before the delete operation completes.

      Can this be accomplished through some form of node locking?