类 SimpleIdempotentIdGenerate
java.lang.Object
com.aizuda.easy.retry.client.core.generator.SimpleIdempotentIdGenerate
- 所有已实现的接口:
IdempotentIdGenerate
默认的idempotentId 生成器
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明idGenerate(IdempotentIdContext context) 参数列表为Object一维数组, 下面说明每一个下标代表的数据含义 0: 场景名称: scene(String) 1: 执行器名称: targetClassName(String) 2: 参数列表: args(Object[]) 3: 执行的方法名称: methodName(String) scene, targetClassName, args, executorMethod.getName()
-
构造器详细资料
-
SimpleIdempotentIdGenerate
public SimpleIdempotentIdGenerate()
-
-
方法详细资料
-
idGenerate
从接口复制的说明:IdempotentIdGenerate参数列表为Object一维数组, 下面说明每一个下标代表的数据含义 0: 场景名称: scene(String) 1: 执行器名称: targetClassName(String) 2: 参数列表: args(Object[]) 3: 执行的方法名称: methodName(String) scene, targetClassName, args, executorMethod.getName()- 指定者:
idGenerate在接口中IdempotentIdGenerate- 参数:
context-IdempotentIdContext幂等id生成器上下文- 返回:
- idempotentId
- 抛出:
Exception
-