类 UpdateDataChangeListener
- java.lang.Object
-
- com.jsq.easy.cache.mybatis.listener.UpdateDataChangeListener
-
- 所有已实现的接口:
com.jsq.easy.cache.core.listener.UpdateListener
public class UpdateDataChangeListener extends Object implements com.jsq.easy.cache.core.listener.UpdateListener
- 从以下版本开始:
- 2024/6/5
- 作者:
- CreativeSelfSQ
-
-
构造器概要
构造器 构造器 说明 UpdateDataChangeListener(com.jsq.easy.cache.starter.config.EasyCacheProperties easyCacheProperties, MybatisEasyCacheProperties mybatisEasyCacheProperties, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected <T> StringcreateUpdateSql(com.jsq.easy.cache.core.event.UpdateEvent<T> eventData)<T> voidhandleBatchUpdateEvent(com.jsq.easy.cache.core.event.UpdateBatchEvent<T> eventData)<T> voidhandleUpdateBatchEvent(com.jsq.easy.cache.core.event.BaseEvent<com.jsq.easy.cache.core.event.UpdateBatchEvent<T>> updateBatchEvent)<T> voidhandleUpdateEvent(com.jsq.easy.cache.core.event.BaseEvent<com.jsq.easy.cache.core.event.UpdateEvent<T>> updateEvent)<T> voidhandleUpdateEvent(com.jsq.easy.cache.core.event.UpdateEvent<T> eventData)
-
-
-
构造器详细资料
-
UpdateDataChangeListener
public UpdateDataChangeListener(com.jsq.easy.cache.starter.config.EasyCacheProperties easyCacheProperties, MybatisEasyCacheProperties mybatisEasyCacheProperties, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
-
方法详细资料
-
handleUpdateEvent
@EventListener @Async("easyCacheAsyncTaskExecutor") public <T> void handleUpdateEvent(com.jsq.easy.cache.core.event.BaseEvent<com.jsq.easy.cache.core.event.UpdateEvent<T>> updateEvent)
-
handleUpdateBatchEvent
@EventListener @Async("easyCacheAsyncTaskExecutor") public <T> void handleUpdateBatchEvent(com.jsq.easy.cache.core.event.BaseEvent<com.jsq.easy.cache.core.event.UpdateBatchEvent<T>> updateBatchEvent)
-
handleUpdateEvent
public <T> void handleUpdateEvent(com.jsq.easy.cache.core.event.UpdateEvent<T> eventData)
- 指定者:
handleUpdateEvent在接口中com.jsq.easy.cache.core.listener.UpdateListener
-
createUpdateSql
protected <T> String createUpdateSql(com.jsq.easy.cache.core.event.UpdateEvent<T> eventData)
-
handleBatchUpdateEvent
public <T> void handleBatchUpdateEvent(com.jsq.easy.cache.core.event.UpdateBatchEvent<T> eventData)
- 指定者:
handleBatchUpdateEvent在接口中com.jsq.easy.cache.core.listener.UpdateListener
-
-