1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.walker.cache;
|
| import com.walker.db.page.GenericPager;
|
| /**
| * 描述:支持分页的缓存提供者接口定义
| * @author 时克英
| * @date 2017年2月14日 上午10:33:04
| */
|
| public interface PageCacheProvider {
|
| /**
| * 为分页缓存对象,返回一页数据集合
| * @param pageIndex 页码数,从1开始
| * @param pageSize 每页数量
| * @return
| */
| GenericPager<Object> queryListPage(int pageIndex, int pageSize);
| }
|
|