org.kth.dks.dks_dht
Class DHTDiskStorage
java.lang.Object
org.kth.dks.dks_dht.DHTDiskStorage
- All Implemented Interfaces:
- DHTStorage
public class DHTDiskStorage
- extends java.lang.Object
- implements DHTStorage
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHTDiskStorage
public DHTDiskStorage(java.lang.String bd)
insertItem
public void insertItem(long key,
DKSObject value)
- Specified by:
insertItem in interface DHTStorage
lookupItem
public DKSObject[] lookupItem(long key)
- Specified by:
lookupItem in interface DHTStorage
getAllKeys
public long[] getAllKeys()
- Specified by:
getAllKeys in interface DHTStorage
removeItem
public void removeItem(long key,
DKSObject value)
- Specified by:
removeItem in interface DHTStorage
changeItem
public void changeItem(long key,
DKSObject oldvalue,
DKSObject newvalue)
- Specified by:
changeItem in interface DHTStorage
getEntriesIterator
public java.util.Iterator getEntriesIterator()
- Specified by:
getEntriesIterator in interface DHTStorage
getAllItems
public java.util.List getAllItems(int r)
- Specified by:
getAllItems in interface DHTStorage
Copyright © 2010. All Rights Reserved.