public class ValidationResponse extends RepairMessage
| Modifier and Type | Field and Description |
|---|---|
static IVersionedSerializer<ValidationResponse> |
serializer |
MerkleTrees |
trees
Merkle hash tree response.
|
desc| Constructor and Description |
|---|
ValidationResponse(RepairJobDesc desc) |
ValidationResponse(RepairJobDesc desc,
MerkleTrees trees) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
success() |
ValidationResponse |
tryMoveOffHeap() |
public final MerkleTrees trees
public static final IVersionedSerializer<ValidationResponse> serializer
public ValidationResponse(RepairJobDesc desc)
public ValidationResponse(RepairJobDesc desc, MerkleTrees trees)
public boolean success()
public ValidationResponse tryMoveOffHeap() throws java.io.IOException
ValidationResponse instance with all trees moved off heap, or this
if it's a failure response.java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2009-2020 The Apache Software Foundation