|
Class Summary |
| Connection |
A type-safe enum representing all the possible connections
of a ViceroyPeer.(connections:successor and predeccessor, Relatives:parent/left/right) |
| FindFastAlgorithm |
A Change in the lookup algorithm. |
| HashValue |
Represents the result value of a hash-function on some object. |
| InitNetCreator |
Tests the Local viceroy peer |
| LocalViceroyPeer |
Represents a local peer in the Viceroy network. |
| LookupMessageStatisticsImpl |
A simple implementation class of LookupMessageStatistics |
| LookupState |
Represent a state of a lookup action in a given time. |
| MessagePath |
Represents a path that a message passes over its lifetime |
| MyTryBig |
internal check for the rounding of BigDecimal. |
| PapersAlgorithm |
Represents the lookup algorithm as it appears in the article. |
| PapersPlusAlgorithm |
resembles the paper's algorithm but has a small
extra check: in the Traverse Tree phase, before doing
anything, i check if the left child or the right is
responsible for the value. |
| PeerState |
Represent a state of a peer in a given time
This is a type-safe enum implementation |
| Relative |
Represent a type of a relative in the viceroy network:
parent,left child or right child. |
| RemoteViceroyPeer |
Represents a remote viceroy peer. |
| ResourceImp |
|
| TestViceroy |
Tests the Local viceroy peer |
| TraverseTreeAbsoluteAlgorithm |
Change the Traverse Tree phase of the lookup algorithm
the change is as follows:
we check which peer is closer (absolute) to the target between this peer/left/right child
If left/right child is closer to the target
goto this child and continue in this phase
else // i am closer to the target
goto travese ring phase |
| TraverseTreePlusAlgorithm |
Change the TraverseTree phase in the lookup algorithm
The change is as follows:
if one of the children exists - certainly go to one of them. |
| ViceroyApplet |
|
| ViceroyStatistics |
Statistics on the viceroy |