Package | Description |
---|---|
org.unict.ing.pds.dhtdb.datamanager | |
org.unict.ing.pds.dhtdb.replica.p2p | |
org.unict.ing.pds.dhtdb.utils.chord | |
org.unict.ing.pds.dhtdb.utils.common |
Modifier and Type | Method and Description |
---|---|
NodeReference |
DataManagerChordSessionBean.findSuccessor(Key key)
implementation of the findSuccessor Chord primitive using the FingerTable
and a RemoteNodeProxy (the DataManager is just a client, not in the ring, as Chord protocol permits)
|
Modifier and Type | Method and Description |
---|---|
private RemoteNodeProxy |
DataManagerChordSessionBean.getReference(NodeReference nodeReference)
Get an instance of a RemoteNodeProxy for the NodeReference given
|
Modifier and Type | Field and Description |
---|---|
private NodeReference |
NodeSessionBean.joinEntryPoint |
Modifier and Type | Method and Description |
---|---|
NodeReference |
NodeSessionBean.findSuccessor(Key key)
findSuccessor primitive of chord protocol
|
NodeReference |
NodeSessionBeanLocal.getNodeReference() |
NodeReference |
NodeSessionBean.getPredecessorNodeRef()
Get the NodeReference of the Predecessor if it is set
|
NodeReference |
NodeSessionBean.notify(NodeReference nodeRef)
Notify primitive of the Chord Protocol
|
Modifier and Type | Method and Description |
---|---|
void |
NodeSessionBean.bootstrap(NodeReference nodeRef)
TODO
|
private BaseNode |
NodeSessionBean.getReference(NodeReference nodeReference)
get a NodeReference (to himSelf or as a RemoteNodeProxy for another peer)
|
private boolean |
NodeSessionBean.isLocal(NodeReference obj)
if the NodeReference given is himself returns true
|
private boolean |
NodeSessionBean.isPredecessor(NodeReference obj)
returns true if the NodeReference given is the predecessor
|
private Boolean |
NodeSessionBean.join(NodeReference entryPoint)
Join a ring using an entry point
|
NodeReference |
NodeSessionBean.notify(NodeReference nodeRef)
Notify primitive of the Chord Protocol
|
Modifier and Type | Field and Description |
---|---|
private TreeSet<NodeReference> |
FingerTable.table |
Modifier and Type | Method and Description |
---|---|
NodeReference |
ChordNode.findSuccessor(Key key) |
NodeReference |
FingerSessionBeanLocal.getClosestPrecedingNode(Key key) |
NodeReference |
FingerTable.getClosestPrecedingNode(Key key) |
NodeReference |
FingerSessionBeanLocal.getClosestPrecedingNode(NodeReference node) |
NodeReference |
FingerTable.getClosestPrecedingNode(NodeReference node) |
NodeReference |
FingerSessionBeanLocal.getFirst() |
NodeReference |
FingerTable.getFirst() |
NodeReference |
FingerSessionBeanLocal.getLast() |
NodeReference |
FingerTable.getLast() |
NodeReference |
ChordNode.getPredecessorNodeRef() |
NodeReference |
ChordNode.notify(NodeReference nodeRef) |
Modifier and Type | Method and Description |
---|---|
TreeSet<NodeReference> |
FingerTable.getTable() |
Modifier and Type | Method and Description |
---|---|
void |
FingerSessionBeanLocal.addNode(NodeReference node) |
void |
FingerTable.addNode(NodeReference node) |
void |
ChordNode.bootstrap(NodeReference nodeRef) |
NodeReference |
FingerSessionBeanLocal.getClosestPrecedingNode(NodeReference node) |
NodeReference |
FingerTable.getClosestPrecedingNode(NodeReference node) |
NodeReference |
ChordNode.notify(NodeReference nodeRef) |
Modifier and Type | Method and Description |
---|---|
void |
FingerSessionBeanLocal.setTable(Collection<NodeReference> tableElements) |
void |
FingerTable.setTable(Collection<NodeReference> tableElements) |
void |
FingerSessionBeanLocal.swapTable(TreeSet<NodeReference> newTable) |
void |
FingerTable.swapTable(TreeSet<NodeReference> newTable) |
Modifier and Type | Field and Description |
---|---|
static NodeReference |
NodeReference.MASTER_NODE
NodeReference.MASTER_NODE is used in this example as the master node known by the peers to join
the Chord Overlay network
|
protected NodeReference |
BaseNode.nodeRef |
Modifier and Type | Method and Description |
---|---|
NodeReference |
RemoteNodeProxy.findSuccessor(Key key) |
static NodeReference |
NodeReference.getLocal() |
NodeReference |
BaseNode.getNodeReference() |
NodeReference |
RemoteNodeProxy.getPredecessorNodeRef() |
NodeReference |
RemoteNodeProxy.notify(NodeReference nodeRef) |
NodeReference |
RemoteNodeProxy.ping() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteNodeProxy.bootstrap(NodeReference nodeRef) |
int |
NodeReference.compareTo(NodeReference o) |
NodeReference |
RemoteNodeProxy.notify(NodeReference nodeRef) |
Constructor and Description |
---|
BaseNode(NodeReference ref) |
RemoteNodeProxy(NodeReference nodeRef) |
Copyright © 2018. All rights reserved.