public class MysqlNoPoolLoadAdapter extends 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) |
loadCurrentIndex, loadCurrentIndex, loadNextIndex, loadNextIndexpublic MysqlNoPoolLoadAdapter(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public int insertNewNoRecord(String id, int limit)
insertNewNoRecord in class NoHelper.NoPoolLoadAdapterpublic int updateNoRecord(String id, int limit, Long version)
updateNoRecord in class NoHelper.NoPoolLoadAdapterpublic Map<String,Long> queryCurrentIndexAndVersionForUpdate(String id)
queryCurrentIndexAndVersionForUpdate in class NoHelper.NoPoolLoadAdapterpublic Long loadFromSource(String id)
loadFromSource in class NoHelper.NoPoolLoadAdapterCopyright © 2020. All rights reserved.