public class GravitateResult extends Object
NodeData
objects
containing the data to be gravitated, and an Fqn
of the buddy backup region being gravitated.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Fqn |
getBuddyBackupFqn() |
List<NodeData> |
getNodeData() |
int |
hashCode() |
boolean |
isDataFound() |
static GravitateResult |
noDataFound()
Factory method that creates a GravitateResult indicating that no data has been found.
|
static GravitateResult |
subtreeResult(List<NodeData> nodeData,
Fqn fqn)
Factory method that creates a GravitateResult with the data found and the backup fqn it was found in.
|
String |
toString() |
public static GravitateResult noDataFound()
public static GravitateResult subtreeResult(List<NodeData> nodeData, Fqn fqn)
nodeData
- data foundfqn
- backup fqn the data was found inpublic Fqn getBuddyBackupFqn()
public boolean isDataFound()
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.