Class ReentrantLockView

    • Field Detail

      • ds

        protected final T extends org.apache.ignite.internal.processors.datastructures.AtomicDataStructureProxy ds
        Data structure instance.
    • Constructor Detail

      • ReentrantLockView

        public ReentrantLockView​(org.apache.ignite.internal.processors.datastructures.GridCacheRemovable ds)
        Parameters:
        ds - Data structure instance.
    • Method Detail

      • hasQueuedThreads

        public boolean hasQueuedThreads()
        Returns:
        True if there may be other threads waiting to acquire the lock.
        See Also:
        IgniteLock.hasQueuedThreads()
      • fair

        public boolean fair()
        Returns:
        True if this lock is fair.
        See Also:
        IgniteLock.isFair()
      • name

        public String name()
        Returns:
        Name.
      • groupName

        public String groupName()
        Returns:
        Group name.
      • groupId

        public int groupId()
        Returns:
        Group id.
      • removed

        public boolean removed()
        Returns:
        True is data structure removed.