com.justz.lock.interceptor.SimpleKeyGenerator Maven / Gradle / Ivy
package com.justz.lock.interceptor;
import com.justz.lock.annotation.LockParam;
import org.springframework.core.MethodClassKey;
import org.springframework.util.StringUtils;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* the default key generator for lock operation.
*/
public class SimpleKeyGenerator implements KeyGenerator {
private final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy