You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Delete the object with the given `persistenceId` and `revision`.
51
51
*
52
52
* <p>
53
-
* Since Pekko v1.1, if the revision does not match the current revision
53
+
* If the revision does not match the expected revision
54
54
* of the object, the delete operation will fail. The returned CompletionStage
55
55
* will complete with a failed result wrapping the exception.
56
56
* </p>
57
57
*
58
58
* @parampersistenceId the persistenceId of the object to delete
59
-
* @paramrevision the revision of the object to delete
60
-
* @return a CompletionStage that completes when the object has been deleted
59
+
* @paramrevision the expected next revision for the `persistenceId` — this must be one more than
60
+
* the current (existing) revision of the object
61
+
* @return a CompletionStage that completes when the object has been deleted or fails if the revision does not match the expected revision of the object
0 commit comments