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