For the
Hazelcast.getLock(Object key)
method, what is the expected/acceptable key object? For instance, is it okay to use a String to refer to this lock from different nodes in the cluster? Or does it have to be a distributed object of some sort?
To be completely precise, does the call Hazelcast.getLock("myLock"), when called from two different cluster members, refer to the same distributed lock?