net.sf.javagimmicks.concurrent.locks.MultiLockProviderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gimmicks Show documentation
Show all versions of gimmicks Show documentation
Utility classes, APIs and tools for Java
package net.sf.javagimmicks.concurrent.locks;
import java.util.HashMap;
import java.util.TreeMap;
import net.sf.javagimmicks.util.Supplier;
/**
* Serves as central {@link Supplier} for {@link MultiLockProvider} instances.
* Instances can only be retrieved by the static getters
* {@link #getHashBasedInstance()} and {@link #getTreeBasedInstance()}.
*
* @param
* The type of the internally used resource identifiers
*/
public class MultiLockProviderFactory implements Supplier>
{
private static final MultiLockProviderFactory
© 2015 - 2025 Weber Informatics LLC | Privacy Policy