类 InterceptorProxy
java.lang.Object
org.anyline.proxy.InterceptorProxy
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <T extends Metadata<T>>
ACTION.SWITCHafter(DataRuntime runtime, String random, ACTION.DDL action, Metadata<T> metadata, List<Run> runs, boolean result, long millis) static <T extends Metadata<T>>
ACTION.SWITCHafter(DataRuntime runtime, String random, ACTION.DDL action, Metadata<T> metadata, Run run, List<Run> runs, boolean result, long millis) static ACTION.SWITCHafterCount(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean exe, long result, long millis) static ACTION.SWITCHafterDelete(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean success, long result, long millis) static ACTION.SWITCHafterExecute(DataRuntime runtime, String random, List<Run> runs, ConfigStore configs, boolean success, long result, long millis) static ACTION.SWITCHafterExecute(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean success, long result, long millis) static ACTION.SWITCHafterExecute(DataRuntime runtime, String random, Procedure procedure, boolean success, boolean result, long millis) static ACTION.SWITCHafterInsert(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns, boolean success, long result, long millis) static ACTION.SWITCHafterInsert(DataRuntime runtime, String random, Run run, Table dest, RunPrepare prepare, ConfigStore configs, boolean success, long result, long millis) static ACTION.SWITCHafterSelect(DataRuntime runtime, String random, Run run, boolean exe, Object result, PageNavi navi, long millis) static ACTION.SWITCHafterSelect(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs, boolean success, Object result, long millis) static ACTION.SWITCHafterUpdate(DataRuntime runtime, String random, Run run, RunPrepare prepare, DataRow data, ConfigStore configs, boolean success, long result, long millis) static ACTION.SWITCHafterUpdate(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns, boolean success, long result, long millis) static <T extends Metadata<T>>
ACTION.SWITCHbefore(DataRuntime runtime, String random, ACTION.DDL action, Metadata<T> metadata, List<Run> runs) static <T extends Metadata<T>>
ACTION.SWITCHbefore(DataRuntime runtime, String random, ACTION.DDL action, Metadata<T> metadata, Run run, List<Run> runs) static ACTION.SWITCHbeforeCount(DataRuntime runtime, String random, Run run, ConfigStore configs) static ACTION.SWITCHbeforeDelete(DataRuntime runtime, String random, Run run, ConfigStore configs) static ACTION.SWITCHbeforeExecute(DataRuntime runtime, String random, List<Run> runs, ConfigStore configs) static ACTION.SWITCHbeforeExecute(DataRuntime runtime, String random, Run run, ConfigStore configs) static ACTION.SWITCHbeforeExecute(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs) static ACTION.SWITCHbeforeInsert(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns) static ACTION.SWITCHbeforeInsert(DataRuntime runtime, String random, Run run, Table dest, RunPrepare prepare, ConfigStore configs) static ACTION.SWITCHbeforeSelect(DataRuntime runtime, String random, Run run, PageNavi navi) static ACTION.SWITCHbeforeSelect(DataRuntime runtime, String random, Procedure procedure, PageNavi navi) static ACTION.SWITCHbeforeUpdate(DataRuntime runtime, String random, Run run, RunPrepare prepare, DataRow data, ConfigStore configs) static ACTION.SWITCHbeforeUpdate(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns) static <T extends Metadata<T>>
ACTION.SWITCHprepare(DataRuntime runtime, String random, ACTION.DDL action, Metadata<T> metadata) DDLstatic ACTION.SWITCHprepareCount(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) static ACTION.SWITCHprepareDelete(DataRuntime runtime, String random, int batch, Table dest, Object obj, ConfigStore configs, String... columns) static ACTION.SWITCHprepareDelete(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String... conditions) static ACTION.SWITCHprepareDelete(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String key, Collection values) static ACTION.SWITCHprepareExecute(DataRuntime runtime, String random, List<RunPrepare> prepares, ConfigStore configs, String... conditions) static ACTION.SWITCHprepareExecute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) static ACTION.SWITCHprepareExecute(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs) static ACTION.SWITCHprepareInsert(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) static ACTION.SWITCHprepareInsert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs) static ACTION.SWITCHprepareSelect(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) DMLstatic ACTION.SWITCHprepareSelect(DataRuntime runtime, String random, Procedure procedure, PageNavi navi) static ACTION.SWITCHprepareUpdate(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) static ACTION.SWITCHprepareUpdate(DataRuntime runtime, String random, RunPrepare prepare, DataRow data, ConfigStore configs) static voidreg(ACTION.DDL action, DDInterceptor interceptor) static voidsetCountInterceptors(Map<String, CountInterceptor> interceptors) static voidsetDDInterceptors(Map<String, DDInterceptor> interceptors) static voidsetDeleteInterceptors(Map<String, DeleteInterceptor> interceptors) static voidsetExecuteInterceptors(Map<String, ExecuteInterceptor> interceptors) static voidsetInsertInterceptors(Map<String, InsertInterceptor> interceptors) static voidsetSelectInterceptors(Map<String, SelectInterceptor> interceptors) static voidsetUpdateInterceptors(Map<String, UpdateInterceptor> interceptors)
-
构造器详细资料
-
InterceptorProxy
public InterceptorProxy()
-
-
方法详细资料
-
setSelectInterceptors
-
setCountInterceptors
-
setUpdateInterceptors
-
setInsertInterceptors
-
setDeleteInterceptors
-
setExecuteInterceptors
-
setDDInterceptors
-
reg
-
prepareSelect
public static ACTION.SWITCH prepareSelect(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) DML -
afterSelect
public static ACTION.SWITCH afterSelect(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs, boolean success, Object result, long millis) -
prepareCount
public static ACTION.SWITCH prepareCount(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) -
beforeCount
public static ACTION.SWITCH beforeCount(DataRuntime runtime, String random, Run run, ConfigStore configs) -
afterCount
public static ACTION.SWITCH afterCount(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean exe, long result, long millis) -
prepareUpdate
public static ACTION.SWITCH prepareUpdate(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) -
prepareUpdate
public static ACTION.SWITCH prepareUpdate(DataRuntime runtime, String random, RunPrepare prepare, DataRow data, ConfigStore configs) -
beforeUpdate
public static ACTION.SWITCH beforeUpdate(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns) -
beforeUpdate
public static ACTION.SWITCH beforeUpdate(DataRuntime runtime, String random, Run run, RunPrepare prepare, DataRow data, ConfigStore configs) -
afterUpdate
public static ACTION.SWITCH afterUpdate(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns, boolean success, long result, long millis) -
afterUpdate
public static ACTION.SWITCH afterUpdate(DataRuntime runtime, String random, Run run, RunPrepare prepare, DataRow data, ConfigStore configs, boolean success, long result, long millis) -
prepareInsert
public static ACTION.SWITCH prepareInsert(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) -
prepareInsert
public static ACTION.SWITCH prepareInsert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs) -
beforeInsert
public static ACTION.SWITCH beforeInsert(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns) -
beforeInsert
public static ACTION.SWITCH beforeInsert(DataRuntime runtime, String random, Run run, Table dest, RunPrepare prepare, ConfigStore configs) -
afterInsert
public static ACTION.SWITCH afterInsert(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns, boolean success, long result, long millis) -
afterInsert
public static ACTION.SWITCH afterInsert(DataRuntime runtime, String random, Run run, Table dest, RunPrepare prepare, ConfigStore configs, boolean success, long result, long millis) -
prepareDelete
public static ACTION.SWITCH prepareDelete(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String key, Collection values) -
prepareDelete
public static ACTION.SWITCH prepareDelete(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String... conditions) -
prepareDelete
public static ACTION.SWITCH prepareDelete(DataRuntime runtime, String random, int batch, Table dest, Object obj, ConfigStore configs, String... columns) -
beforeDelete
public static ACTION.SWITCH beforeDelete(DataRuntime runtime, String random, Run run, ConfigStore configs) -
afterDelete
public static ACTION.SWITCH afterDelete(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean success, long result, long millis) -
prepareExecute
public static ACTION.SWITCH prepareExecute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) -
prepareExecute
public static ACTION.SWITCH prepareExecute(DataRuntime runtime, String random, List<RunPrepare> prepares, ConfigStore configs, String... conditions) -
prepareExecute
public static ACTION.SWITCH prepareExecute(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs) -
beforeExecute
public static ACTION.SWITCH beforeExecute(DataRuntime runtime, String random, Run run, ConfigStore configs) -
beforeExecute
public static ACTION.SWITCH beforeExecute(DataRuntime runtime, String random, List<Run> runs, ConfigStore configs) -
beforeExecute
public static ACTION.SWITCH beforeExecute(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs) -
afterExecute
public static ACTION.SWITCH afterExecute(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean success, long result, long millis) -
afterExecute
public static ACTION.SWITCH afterExecute(DataRuntime runtime, String random, List<Run> runs, ConfigStore configs, boolean success, long result, long millis) -
afterExecute
public static ACTION.SWITCH afterExecute(DataRuntime runtime, String random, Procedure procedure, boolean success, boolean result, long millis) -
prepare
public static <T extends Metadata<T>> ACTION.SWITCH prepare(DataRuntime runtime, String random, ACTION.DDL action, Metadata<T> metadata) DDL -
before
public static <T extends Metadata<T>> ACTION.SWITCH before(DataRuntime runtime, String random, ACTION.DDL action, Metadata<T> metadata, List<Run> runs) -
before
public static <T extends Metadata<T>> ACTION.SWITCH before(DataRuntime runtime, String random, ACTION.DDL action, Metadata<T> metadata, Run run, List<Run> runs) -
after
public static <T extends Metadata<T>> ACTION.SWITCH after(DataRuntime runtime, String random, ACTION.DDL action, Metadata<T> metadata, List<Run> runs, boolean result, long millis) -
after
public static <T extends Metadata<T>> ACTION.SWITCH after(DataRuntime runtime, String random, ACTION.DDL action, Metadata<T> metadata, Run run, List<Run> runs, boolean result, long millis)
-