Example:
List blogList = EhCacheKit.handle("blog", "blogList", new IDataLoader(){ public Object load() { return Blog.dao.find("select * from blog"); }});
2728293031323334353637
return page; } public M loadModel(int id) { final int ID = id; return (M)CacheKit.get(cacheNameForModel, ID, new IDataLoader() { @Override public Object load() { return findById(ID); } });