类 ConcurrentSqlCreatorLocker


  • public class ConcurrentSqlCreatorLocker
    extends Object
    为了保证创建SQL语句的线程安全
    作者:
    王鸿雁
    • 构造器详细资料

      • ConcurrentSqlCreatorLocker

        public ConcurrentSqlCreatorLocker()
    • 方法详细资料

      • isTheSqlExist

        public static boolean isTheSqlExist​(String key)
      • notExist

        public static boolean notExist​(String key)
      • put

        public static void put​(String key)
      • getLocker

        public static Object getLocker​(String key)
        获得一把锁
        参数:
        key - the locker
        返回:
        locked object
      • remove

        public static void remove​(String key)