public class ServiceQueueImpl<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T extends com.baomidou.mybatisplus.extension.activerecord.Model<T>>
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
| Modifier and Type | Field and Description |
|---|---|
protected LinkedBlockingQueue<ModelRequest<T>> |
queue |
| Constructor and Description |
|---|
ServiceQueueImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
集成子类初始化,每200毫秒发车一次,每次最多100个请求
|
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getSqlStatement, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, getById, getOne, ktQuery, ktUpdate, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeById, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateByIdprotected LinkedBlockingQueue<ModelRequest<T extends com.baomidou.mybatisplus.extension.activerecord.Model<T>>> queue
@PostConstruct public void init()
Copyright © 2021. All rights reserved.