次の方法で共有


UpdateMessageResult Class

  • java.lang.Object
    • com.azure.storage.queue.models.UpdateMessageResult

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()

Get the unique identifier used to verify that the operation is allowed on the message.

OffsetDateTime getTimeNextVisible()

Get the next time the message will be visible to other operations in the queue.

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()

Get the unique identifier used to verify that the operation is allowed on the message.

Returns:

the unique identifier used to verify that the operation is allowed on the message

getTimeNextVisible

public OffsetDateTime getTimeNextVisible()

Get the next time the message will be visible to other operations in the queue.

Returns:

the next time the message will be visible to other operations in the queue

Applies to