接口 net.neoremind.fountain.datasource.TaskExcutor
的使用

使用 TaskExcutor 的软件包
net.neoremind.fountain.datasource   
 

net.neoremind.fountain.datasource 中 TaskExcutor 的使用
 

参数类型为 TaskExcutor 的 net.neoremind.fountain.datasource 中的方法
protected abstract
<E> E
AbstractHADatasource.doHaTask(String command, String method, TaskExcutor<E> taskExecutor)
          在ha的环境中封装一批类似的业务逻辑,比如执行sql,查询表的元数据等,本身是一种策略模式,被用于模板方法中
protected
<T> T
HANormalMysqlDataSource.doHaTask(String command, String method, TaskExcutor<T> taskExecutor)
           
 



Copyright © 2016 neoremind. All rights reserved.