I am a newbie for Hazelcast. I would like to know how can I list current lock in Hazelcast console?
For ex. assume that i open three console and i have taken 3 lock as follow:
m.lock object1
m.lock object2
m.lock object3
How can i get output like:
number of lock site: 3
locks: object1, object2, object3
Console is just a test app to simulate basic functionalities of hazelcast.
To see your lock instances following code will help you.