com.xqbase.util.concurrent.LockMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xqbase-util-jdk17 Show documentation
Show all versions of xqbase-util-jdk17 Show documentation
Reusable Java components for www.xqbase.com
package com.xqbase.util.concurrent;
public class LockMap extends CountMap {
private static final long serialVersionUID = 1L;
private boolean fair;
public LockMap() {
this(false);
}
public LockMap(boolean fair) {
this.fair = fair;
}
@Override
protected CountLock newCount() {
return new CountLock(fair);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy