public static class MultiPercolateResponse.Item extends Object implements Streamable
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage() |
Throwable |
getFailure() |
PercolateResponse |
getResponse() |
boolean |
isFailure() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
@Nullable public PercolateResponse getResponse()
null
if there was error.@Nullable public 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 Throwable getFailure()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2016. All rights reserved.