public interface Cache
| Modifier and Type | Method and Description |
|---|---|
void |
add(String sql,
Object result)
Put the result in the cache identify with sql.
|
void |
clear(String sql)
Clear the cache result of related table by sql.
|
Object |
get(String sql)
Get the cache result by sql.
|
Object get(String sql)
sql - sql for selectvoid add(String sql, Object result)
sql - sql for selectresult - result of selectvoid clear(String sql)
sql - sql for modifyCopyright © 2022. All rights reserved.