| Constructor and Description |
|---|
StorageDisk(org.mapdb.DB db,
Number160 peerId,
File path) |
StorageDisk(File path,
Number160 peerId) |
public NavigableMap<Number640,Data> remove(Number640 from, Number640 to, boolean returnData)
public NavigableMap<Number640,Data> subMap(Number640 from, Number640 to, int limit, boolean ascending)
public NavigableMap<Number640,Data> map()
public void addTimeout(Number640 key, long expiration)
addTimeout in interface Storagepublic void removeTimeout(Number640 key)
removeTimeout in interface Storagepublic Collection<Number640> subMapTimeout(long to)
subMapTimeout in interface Storagepublic Number160 findPeerIDForResponsibleContent(Number160 locationKey)
findPeerIDForResponsibleContent in interface Storagepublic Collection<Number160> findContentForResponsiblePeerID(Number160 peerID)
findContentForResponsiblePeerID in interface Storagepublic boolean updateResponsibilities(Number160 locationKey, Number160 peerId)
updateResponsibilities in interface Storagepublic void removeResponsibility(Number160 locationKey)
removeResponsibility in interface Storagepublic boolean protectDomain(Number320 key, PublicKey publicKey)
protectDomain in interface Storagepublic boolean isDomainProtectedByOthers(Number320 key, PublicKey publicKey)
isDomainProtectedByOthers in interface Storagepublic boolean protectEntry(Number480 key, PublicKey publicKey)
protectEntry in interface Storagepublic boolean isEntryProtectedByOthers(Number480 key, PublicKey publicKey)
isEntryProtectedByOthers in interface StorageCopyright © 2014. All rights reserved.