net.tomp2p.storage
Class StorageMemoryReplication
java.lang.Object
  
net.tomp2p.storage.StorageMemoryReplication
- All Implemented Interfaces: 
 - ReplicationStorage
 
public class StorageMemoryReplication
- extends Object
- implements ReplicationStorage
  
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
StorageMemoryReplication
public StorageMemoryReplication()
findPeerIDForResponsibleContent
public Number160 findPeerIDForResponsibleContent(Number160 locationKey)
- Specified by:
 findPeerIDForResponsibleContent in interface ReplicationStorage
 
 
findContentForResponsiblePeerID
public Collection<Number160> findContentForResponsiblePeerID(Number160 peerID)
- Specified by:
 findContentForResponsiblePeerID in interface ReplicationStorage
 
 
updateResponsibilities
public boolean updateResponsibilities(Number160 locationKey,
                                      Number160 peerId)
- Specified by:
 updateResponsibilities in interface ReplicationStorage
 
 
removeResponsibility
public void removeResponsibility(Number160 locationKey)
- Specified by:
 removeResponsibility in interface ReplicationStorage
 
 
Copyright © 2013. All Rights Reserved.