@Component(value="anyline.interceptor.proxy") public class InterceptorProxy extends Object
| 构造器和说明 |
|---|
InterceptorProxy() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ACTION.SWITCH |
after(DataRuntime runtime,
String random,
ACTION.DDL action,
Object metadata,
List<Run> runs,
boolean result,
long millis) |
static ACTION.SWITCH |
afterCount(DataRuntime runtime,
String random,
Run run,
boolean exe,
long result,
long millis) |
static ACTION.SWITCH |
afterDelete(DataRuntime runtime,
String random,
Run run,
boolean success,
long result,
long millis) |
static ACTION.SWITCH |
afterExecute(DataRuntime runtime,
String random,
Procedure procedure,
boolean success,
boolean result,
long millis) |
static ACTION.SWITCH |
afterExecute(DataRuntime runtime,
String random,
Run run,
boolean success,
long result,
long millis) |
static ACTION.SWITCH |
afterInsert(DataRuntime runtime,
String random,
Run run,
String dest,
Object data,
boolean checkPrimary,
List<String> columns,
boolean success,
long result,
long millis) |
static ACTION.SWITCH |
afterQuery(DataRuntime runtime,
String random,
Procedure procedure,
PageNavi navi,
boolean success,
Object result,
long millis) |
static ACTION.SWITCH |
afterQuery(DataRuntime runtime,
String random,
Run run,
boolean exe,
Object result,
PageNavi navi,
long millis) |
static ACTION.SWITCH |
afterUpdate(DataRuntime runtime,
String random,
Run run,
String dest,
Object data,
ConfigStore configs,
List<String> columns,
boolean success,
long result,
long millis) |
static ACTION.SWITCH |
before(DataRuntime runtime,
String random,
ACTION.DDL action,
Object metadata,
List<Run> runs) |
static ACTION.SWITCH |
beforeCount(DataRuntime runtime,
String random,
Run run) |
static ACTION.SWITCH |
beforeDelete(DataRuntime runtime,
String random,
Run run) |
static ACTION.SWITCH |
beforeExecute(DataRuntime runtime,
String random,
Procedure procedure) |
static ACTION.SWITCH |
beforeExecute(DataRuntime runtime,
String random,
Run run) |
static ACTION.SWITCH |
beforeInsert(DataRuntime runtime,
String random,
Run run,
String dest,
Object data,
boolean checkPrimary,
List<String> columns) |
static ACTION.SWITCH |
beforeQuery(DataRuntime runtime,
String random,
Procedure procedure,
PageNavi navi) |
static ACTION.SWITCH |
beforeQuery(DataRuntime runtime,
String random,
Run run,
PageNavi navi) |
static ACTION.SWITCH |
beforeUpdate(DataRuntime runtime,
String random,
Run run,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
static ACTION.SWITCH |
prepare(DataRuntime runtime,
String random,
ACTION.DDL action,
Object metadata)
DDL
|
static ACTION.SWITCH |
prepareCount(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions) |
static ACTION.SWITCH |
prepareDelete(DataRuntime runtime,
String random,
int batch,
String table,
ConfigStore configs,
String... conditions) |
static ACTION.SWITCH |
prepareDelete(DataRuntime runtime,
String random,
int batch,
String dest,
Object obj,
String... columns) |
static ACTION.SWITCH |
prepareDelete(DataRuntime runtime,
String random,
int batch,
String table,
String key,
Collection values) |
static ACTION.SWITCH |
prepareExecute(DataRuntime runtime,
String random,
Procedure procedure) |
static ACTION.SWITCH |
prepareExecute(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions) |
static ACTION.SWITCH |
prepareInsert(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
boolean checkPrimary,
List<String> columns) |
static ACTION.SWITCH |
prepareQuery(DataRuntime runtime,
String random,
Procedure procedure,
PageNavi navi) |
static ACTION.SWITCH |
prepareQuery(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
DML
|
static ACTION.SWITCH |
prepareUpdate(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
void |
reg(ACTION.DDL action,
DDInterceptor interceptor) |
void |
setCountInterceptors(Map<String,CountInterceptor> interceptors) |
void |
setDDInterceptors(Map<String,DDInterceptor> interceptors) |
void |
setDeleteInterceptors(Map<String,DeleteInterceptor> interceptors) |
void |
setExecuteInterceptors(Map<String,ExecuteInterceptor> interceptors) |
void |
setInsertInterceptors(Map<String,InsertInterceptor> interceptors) |
void |
setQueryInterceptors(Map<String,QueryInterceptor> interceptors) |
void |
setUpdateInterceptors(Map<String,UpdateInterceptor> interceptors) |
@Autowired(required=false) public void setQueryInterceptors(Map<String,QueryInterceptor> interceptors)
@Autowired(required=false) public void setCountInterceptors(Map<String,CountInterceptor> interceptors)
@Autowired(required=false) public void setUpdateInterceptors(Map<String,UpdateInterceptor> interceptors)
@Autowired(required=false) public void setInsertInterceptors(Map<String,InsertInterceptor> interceptors)
@Autowired(required=false) public void setDeleteInterceptors(Map<String,DeleteInterceptor> interceptors)
@Autowired(required=false) public void setExecuteInterceptors(Map<String,ExecuteInterceptor> interceptors)
@Autowired(required=false) public void setDDInterceptors(Map<String,DDInterceptor> interceptors)
public void reg(ACTION.DDL action, DDInterceptor interceptor)
public static ACTION.SWITCH prepareQuery(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
public static ACTION.SWITCH prepareQuery(DataRuntime runtime, String random, Procedure procedure, PageNavi navi)
public static ACTION.SWITCH beforeQuery(DataRuntime runtime, String random, Run run, PageNavi navi)
public static ACTION.SWITCH beforeQuery(DataRuntime runtime, String random, Procedure procedure, PageNavi navi)
public static ACTION.SWITCH afterQuery(DataRuntime runtime, String random, Run run, boolean exe, Object result, PageNavi navi, long millis)
public static ACTION.SWITCH afterQuery(DataRuntime runtime, String random, Procedure procedure, PageNavi navi, boolean success, Object result, long millis)
public static ACTION.SWITCH prepareCount(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
public static ACTION.SWITCH beforeCount(DataRuntime runtime, String random, Run run)
public static ACTION.SWITCH afterCount(DataRuntime runtime, String random, Run run, boolean exe, long result, long millis)
public static ACTION.SWITCH prepareUpdate(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, List<String> columns)
public static ACTION.SWITCH beforeUpdate(DataRuntime runtime, String random, Run run, String dest, Object data, ConfigStore configs, List<String> columns)
public static ACTION.SWITCH afterUpdate(DataRuntime runtime, String random, Run run, String dest, Object data, ConfigStore configs, List<String> columns, boolean success, long result, long millis)
public static ACTION.SWITCH prepareInsert(DataRuntime runtime, String random, int batch, String dest, Object data, boolean checkPrimary, List<String> columns)
public static ACTION.SWITCH beforeInsert(DataRuntime runtime, String random, Run run, String dest, Object data, boolean checkPrimary, List<String> columns)
public static ACTION.SWITCH afterInsert(DataRuntime runtime, String random, Run run, String dest, Object data, boolean checkPrimary, List<String> columns, boolean success, long result, long millis)
public static ACTION.SWITCH prepareDelete(DataRuntime runtime, String random, int batch, String table, String key, Collection values)
public static ACTION.SWITCH prepareDelete(DataRuntime runtime, String random, int batch, String table, ConfigStore configs, String... conditions)
public static ACTION.SWITCH prepareDelete(DataRuntime runtime, String random, int batch, String dest, Object obj, String... columns)
public static ACTION.SWITCH beforeDelete(DataRuntime runtime, String random, Run run)
public static ACTION.SWITCH afterDelete(DataRuntime runtime, String random, Run run, boolean success, long result, long millis)
public static ACTION.SWITCH prepareExecute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
public static ACTION.SWITCH prepareExecute(DataRuntime runtime, String random, Procedure procedure)
public static ACTION.SWITCH beforeExecute(DataRuntime runtime, String random, Run run)
public static ACTION.SWITCH beforeExecute(DataRuntime runtime, String random, Procedure procedure)
public static ACTION.SWITCH afterExecute(DataRuntime runtime, String random, Run run, boolean success, long result, long millis)
public static ACTION.SWITCH afterExecute(DataRuntime runtime, String random, Procedure procedure, boolean success, boolean result, long millis)
public static ACTION.SWITCH prepare(DataRuntime runtime, String random, ACTION.DDL action, Object metadata)
public static ACTION.SWITCH before(DataRuntime runtime, String random, ACTION.DDL action, Object metadata, List<Run> runs)
public static ACTION.SWITCH after(DataRuntime runtime, String random, ACTION.DDL action, Object metadata, List<Run> runs, boolean result, long millis)
Copyright © 2023. All rights reserved.