@InterfaceAudience.Public @InterfaceStability.Evolving public class OperationResponse extends Object
Modifier and Type | Method and Description |
---|---|
static List<RowError> |
collectErrors(List<OperationResponse> responses)
Utility method that collects all the row errors from the given list of responses.
|
long |
getElapsedMillis()
Get the number of milliseconds elapsed since the RPC was created up to the moment when this
response was created.
|
RowError |
getRowError()
Returns a row error.
|
String |
getTsUUID()
Get the identifier of the tablet server that sent the response.
|
boolean |
hasRowError()
Tells if this operation response contains a row error.
|
public static List<RowError> collectErrors(List<OperationResponse> responses)
responses
- a list of operation responses to collect the row errors frompublic RowError getRowError()
hasRowError()
returns false, then this method returns null.public boolean hasRowError()
public long getElapsedMillis()
public String getTsUUID()
null
if the RPC failed before tablet location lookup succeeded.Copyright © 2018 The Apache Software Foundation. All rights reserved.