Class AckRequestData (1.132.2)

public class AckRequestData

Inheritance

java.lang.Object > AckRequestData

Static Methods

newBuilder(String ackId)

public static AckRequestData.Builder newBuilder(String ackId)
Parameter
Name Description
ackId String
Returns
Type Description
AckRequestData.Builder

Constructors

AckRequestData(AckRequestData.Builder builder)

protected AckRequestData(AckRequestData.Builder builder)
Parameter
Name Description
builder AckRequestData.Builder

Methods

getAckId()

public String getAckId()
Returns
Type Description
String

getMessageFutureIfExists()

public SettableApiFuture<AckResponse> getMessageFutureIfExists()
Returns
Type Description
SettableApiFuture<AckResponse>

hasMessageFuture()

public boolean hasMessageFuture()
Returns
Type Description
boolean

setResponse(AckResponse ackResponse, boolean setResponseOnSuccess)

public AckRequestData setResponse(AckResponse ackResponse, boolean setResponseOnSuccess)
Parameters
Name Description
ackResponse AckResponse
setResponseOnSuccess boolean
Returns
Type Description
AckRequestData