public class StorageMemoryReplication extends Object implements ReplicationStorage
| Constructor and Description |
|---|
StorageMemoryReplication() |
| 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 ReplicationStoragepublic Collection<Number160> findContentForResponsiblePeerID(Number160 peerID)
findContentForResponsiblePeerID in interface ReplicationStoragepublic boolean updateResponsibilities(Number160 locationKey, Number160 peerId)
updateResponsibilities in interface ReplicationStoragepublic void removeResponsibility(Number160 locationKey)
removeResponsibility in interface ReplicationStorageCopyright © 2013. All Rights Reserved.