Skip to content

Commit 7440700

Browse files
author
Maciej Walkowiak
committed
Add toString method to IdempotentItem to ease troubleshooting.
1 parent 68189e4 commit 7440700

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)