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