UpdateMessageResult Class
- java.
lang. Object - com.
azure. storage. queue. models. UpdateMessageResult
- com.
public final class UpdateMessageResult
Response from the service when updating a message. Contains the information needed to continue working with the specific message.
Constructor Summary
Constructor | Description |
---|---|
UpdateMessageResult(String popReceipt, OffsetDateTime timeNextVisible) |
Creates an instance of updated message information. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String | getPopReceipt() |
Offset |
getTimeNextVisible() |
Methods inherited from java.lang.Object
Constructor Details
UpdateMessageResult
public UpdateMessageResult(String popReceipt, OffsetDateTime timeNextVisible)
Creates an instance of updated message information.
Parameters:
popReceipt
- Unique identifier that verifies the operation on a message is valid
timeNextVisible
- The next time the message will be visible to other operations in the queue
Method Details
getPopReceipt
public String getPopReceipt()
Returns:
the unique identifier used to verify that the operation is allowed on the message
getTimeNextVisible
public OffsetDateTime getTimeNextVisible()
Returns:
the next time the message will be visible to other operations in the queue
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für