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 ReplicationStorage
public Collection<Number160> findContentForResponsiblePeerID(Number160 peerID)
findContentForResponsiblePeerID
in interface ReplicationStorage
public boolean updateResponsibilities(Number160 locationKey, Number160 peerId)
updateResponsibilities
in interface ReplicationStorage
public void removeResponsibility(Number160 locationKey)
removeResponsibility
in interface ReplicationStorage
Copyright © 2013. All Rights Reserved.