All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.util.concurrent.locks.VisibleOwnerReentrantLock Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.util.concurrent.locks;

import java.util.concurrent.locks.ReentrantLock;

/**
* Extends {@link ReentrantLock} only to make the {@link #getOwner()} method public.
*
* @author Dan Berindei
* @since 5.2
*/
public class VisibleOwnerReentrantLock extends ReentrantLock {
   @Override
   public Thread getOwner() {
      return super.getOwner();
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy