public class ResponsibilityMemory extends Object implements Responsibility
| Constructor and Description |
|---|
ResponsibilityMemory() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Number160> |
findContentForResponsiblePeerID(Number160 peerID) |
Number160 |
findPeerIDForResponsibleContent(Number160 locationKey) |
void |
removeResponsibility(Number160 locationKey) |
boolean |
updateResponsibilities(Number160 locationKey,
Number160 peerId) |
public Number160 findPeerIDForResponsibleContent(Number160 locationKey)
findPeerIDForResponsibleContent in interface Responsibilitypublic Collection<Number160> findContentForResponsiblePeerID(Number160 peerID)
findContentForResponsiblePeerID in interface Responsibilitypublic boolean updateResponsibilities(Number160 locationKey, Number160 peerId)
updateResponsibilities in interface Responsibilitypublic void removeResponsibility(Number160 locationKey)
removeResponsibility in interface ResponsibilityCopyright © 2011. All Rights Reserved.