public static class MultiPercolateResponse.Item extends java.lang.Object implements Streamable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage() |
java.lang.Throwable |
getFailure() |
PercolateResponse |
getResponse() |
boolean |
isFailure() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
@Nullable public PercolateResponse getResponse()
null
if there was error.@Nullable public java.lang.String getErrorMessage()
null
if the percolate request was successfulpublic boolean isFailure()
true
if the percolator request that this item represents failed otherwise
false
is returned.public java.lang.Throwable getFailure()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException