类 EasyCachePublisher
- java.lang.Object
-
- com.jsq.easy.cache.mybatis.publisher.EasyCachePublisher
-
- 所有已实现的接口:
com.jsq.easy.cache.core.publisher.DatabasePublisher
public class EasyCachePublisher extends Object implements com.jsq.easy.cache.core.publisher.DatabasePublisher
默认实现,通过spring事件发布- 从以下版本开始:
- 2024/6/5
- 作者:
- CreativeSelfSQ
-
-
构造器概要
构造器 构造器 说明 EasyCachePublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 <T> voiddeleteBatchEvent(Collection<T> id, String tableName)<T> voiddeleteEvent(T id, String tableName)<T> voidinsertBatchEvent(Collection<T> id, String tableName)<T> voidinsertEvent(T id, String tableName)<T> voidupdateBatchEvent(Collection<T> id, String tableName)<T> voidupdateEvent(T id, String tableName)
-
-
-
方法详细资料
-
insertEvent
public <T> void insertEvent(T id, String tableName)- 指定者:
insertEvent在接口中com.jsq.easy.cache.core.publisher.DatabasePublisher
-
insertBatchEvent
public <T> void insertBatchEvent(Collection<T> id, String tableName)
- 指定者:
insertBatchEvent在接口中com.jsq.easy.cache.core.publisher.DatabasePublisher
-
updateEvent
public <T> void updateEvent(T id, String tableName)- 指定者:
updateEvent在接口中com.jsq.easy.cache.core.publisher.DatabasePublisher
-
updateBatchEvent
public <T> void updateBatchEvent(Collection<T> id, String tableName)
- 指定者:
updateBatchEvent在接口中com.jsq.easy.cache.core.publisher.DatabasePublisher
-
deleteEvent
public <T> void deleteEvent(T id, String tableName)- 指定者:
deleteEvent在接口中com.jsq.easy.cache.core.publisher.DatabasePublisher
-
deleteBatchEvent
public <T> void deleteBatchEvent(Collection<T> id, String tableName)
- 指定者:
deleteBatchEvent在接口中com.jsq.easy.cache.core.publisher.DatabasePublisher
-
-