类 SimpleIdempotentIdGenerate

java.lang.Object
com.aizuda.easy.retry.client.core.generator.SimpleIdempotentIdGenerate
所有已实现的接口:
IdempotentIdGenerate

public class SimpleIdempotentIdGenerate extends Object implements IdempotentIdGenerate
默认的idempotentId 生成器
  • 构造器详细资料

    • SimpleIdempotentIdGenerate

      public SimpleIdempotentIdGenerate()
  • 方法详细资料

    • idGenerate

      public String idGenerate(IdempotentIdContext context) throws Exception
      从接口复制的说明: 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