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.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2009-2021 The Apache Software Foundation