public final class CacheUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
add(String sql,
Object rs)
false未放缓存,true已放缓存.
|
static void |
clear(String sql) |
static Object |
get(String sql)
从缓存获取结果.get the result from cache.
|
public static Object get(String sql)
sql - sql语句或相关key. sql string or other key.public static boolean add(String sql, Object rs)
sql - sql语句或相关key. sql string or other keyrs - 结果集.resultpublic static void clear(String sql)
Copyright © 2022. All rights reserved.