Skip to content

Commit 7979e89

Browse files
authored
Merge pull request #8 from maciejwalkowiak/add-to-string
Add toString method to IdempotentItem to ease troubleshooting.
2 parents 68189e4 + 7440700 commit 7979e89

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

idempotent-dynamo/src/main/java/io/github/arun0009/idempotent/dynamo/IdempotentItem.java

+11
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,15 @@ public String getResponse() {
112112
public void setResponse(String response) {
113113
this.response = response;
114114
}
115+
116+
@Override
117+
public String toString() {
118+
return "IdempotentItem{" +
119+
"key='" + key + '\'' +
120+
", processName='" + processName + '\'' +
121+
", status='" + status + '\'' +
122+
", expirationTimeInMilliSeconds=" + expirationTimeInMilliSeconds +
123+
", response='" + response + '\'' +
124+
'}';
125+
}
115126
}

0 commit comments

Comments
 (0)