public SagaRequestImpl()

in saga-core/src/main/java/org/apache/servicecomb/saga/core/SagaRequestImpl.java [35:54]


  public SagaRequestImpl(
      String id,
      String serviceName,
      String type,
      Transaction transaction,
      Compensation compensation,
      Fallback fallback,
      String[] parents,
      int failRetryDelayMilliseconds) {

    this.id = id;
    this.serviceName = serviceName;
    this.type = type;
    this.transaction = transaction;
    this.compensation = compensation;
    this.fallback = fallback;
    this.failRetryDelayMilliseconds = failRetryDelayMilliseconds <= 0 ? 50 : failRetryDelayMilliseconds;
    // TODO: 2017/10/21 set parent to root when null
    this.parents = parents == null ? new String[0] : parents;
  }