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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för