|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.buddyreplication.GravitateResult
public class GravitateResult
A class that encapsulates the result of a data gravitation call, a part of the Buddy Replication framwork. A GravitateResult
contains 3 elements; a boolean indicating whether the gravitation request found any data at all, a List of NodeData objects
containing the data to be gravitated, and an Fqn of the buddy backup region being gravitated.
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static GravitateResult noDataFound()
public static GravitateResult subtreeResult(List<NodeData> nodeData,
Fqn fqn)
nodeData - data foundfqn - backup fqn the data was found in
public Fqn getBuddyBackupFqn()
public boolean isDataFound()
public List<NodeData> getNodeData()
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||