Class ClusteredLockImpl

java.lang.Object
org.infinispan.lock.impl.lock.ClusteredLockImpl
All Implemented Interfaces:
ClusteredLock

public class ClusteredLockImpl extends Object implements ClusteredLock
Implements ClusteredLock interface.

This lock implements a non reentrant where the ownership is OwnershipLevel.NODE.

Non reentrant lock, Owner Node

  • Originator of the requests is the Address of the EmbeddedCacheManager
  • When a lock is acquired by a Node, it cannot be re-acquired, even by the actual node til the lock is released.
  • The lock can be unlocked only by the lock owner, in this case the node
  • lock method does not expire til the lock is acquired, so this can cause thread starvation in the actual implementation
  • Partition handling

    Since:
    9.2
    Author:
    Katia Aresti, karesti@redhat.com
    See Also: