public String toString()

in tephra-core/src/main/java/org/apache/tephra/distributed/thrift/TTransaction.java [929:990]


  public String toString() {
    StringBuilder sb = new StringBuilder("TTransaction(");
    boolean first = true;

    sb.append("transactionId:");
    sb.append(this.transactionId);
    first = false;
    if (!first) sb.append(", ");
    sb.append("readPointer:");
    sb.append(this.readPointer);
    first = false;
    if (!first) sb.append(", ");
    sb.append("invalids:");
    if (this.invalids == null) {
      sb.append("null");
    } else {
      sb.append(this.invalids);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("inProgress:");
    if (this.inProgress == null) {
      sb.append("null");
    } else {
      sb.append(this.inProgress);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("firstShort:");
    sb.append(this.firstShort);
    first = false;
    if (!first) sb.append(", ");
    sb.append("type:");
    if (this.type == null) {
      sb.append("null");
    } else {
      sb.append(this.type);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("writePointer:");
    sb.append(this.writePointer);
    first = false;
    if (!first) sb.append(", ");
    sb.append("checkpointWritePointers:");
    if (this.checkpointWritePointers == null) {
      sb.append("null");
    } else {
      sb.append(this.checkpointWritePointers);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("visibilityLevel:");
    if (this.visibilityLevel == null) {
      sb.append("null");
    } else {
      sb.append(this.visibilityLevel);
    }
    first = false;
    sb.append(")");
    return sb.toString();
  }