Commit ca6b468c authored by yanzg's avatar yanzg

表结构修改

parent 47a91435
......@@ -191,7 +191,7 @@ public class CacheLock<T, M> implements Runnable {
* @param func 执行函数
*/
public static <T, M> void run(Cache<T, M> cache, int lockTime, int waitUnitTime, T key, Runnable funcWait, Runnable func) {
CacheLock lock = new CacheLock(cache, lockTime, waitUnitTime, key, funcWait, func);
CacheLock<T, M> lock = new CacheLock(cache, lockTime, waitUnitTime, key, funcWait, func);
lock.run();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment