public class MysqlNoPoolLoadAdapter
extends cn.watsontech.webhelper.utils.NoHelper.NoPoolLoadAdapter
| Constructor and Description |
|---|
MysqlNoPoolLoadAdapter(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
| Modifier and Type | Method and Description |
|---|---|
int |
insertNewNoRecord(String id,
int limit) |
Long |
loadFromSource(String id) |
Map<String,Long> |
queryCurrentIndexAndVersionForUpdate(String id) |
int |
updateNoRecord(String id,
int limit,
Long version) |
public MysqlNoPoolLoadAdapter(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public int insertNewNoRecord(String id, int limit)
insertNewNoRecord in class cn.watsontech.webhelper.utils.NoHelper.NoPoolLoadAdapterpublic int updateNoRecord(String id, int limit, Long version)
updateNoRecord in class cn.watsontech.webhelper.utils.NoHelper.NoPoolLoadAdapterpublic Map<String,Long> queryCurrentIndexAndVersionForUpdate(String id)
queryCurrentIndexAndVersionForUpdate in class cn.watsontech.webhelper.utils.NoHelper.NoPoolLoadAdapterCopyright © 2021. All rights reserved.