org.infinispan.util.concurrent.locks.containers.ReentrantPerEntryLockContainer Maven / Gradle / Ivy
package org.infinispan.util.concurrent.locks.containers;
import org.infinispan.commons.equivalence.Equivalence;
import org.infinispan.util.concurrent.locks.VisibleOwnerRefCountingReentrantLock;
import org.infinispan.util.logging.Log;
import org.infinispan.util.logging.LogFactory;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.ReentrantLock;
/**
* A per-entry lock container for ReentrantLocks
*
* @author Manik Surtani
* @since 4.0
*/
public class ReentrantPerEntryLockContainer extends AbstractPerEntryLockContainer {
private static final Log log = LogFactory.getLog(ReentrantPerEntryLockContainer.class);
@Override
protected Log getLog() {
return log;
}
public ReentrantPerEntryLockContainer(int concurrencyLevel, Equivalence
© 2015 - 2025 Weber Informatics LLC | Privacy Policy