|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.replication.testing.ReplicationRegrTest.TestReplicationClient
DESCRIBE THE CLASS
| Field Summary | |
Node |
node
DESCRIBE THE FIELD |
MemoryStorage |
storage
DESCRIBE THE FIELD |
| Constructor Summary | |
ReplicationRegrTest.TestReplicationClient(Node node)
Constructor for TestReplicationClient. |
|
| Method Summary | |
void |
fetch(IdSet keySet,
NodeHandle hint)
This upcall is invoked to notify the application that is should fetch the cooresponding keys in this set, since the node is now responsible for these keys also. |
void |
insert(Id id)
DESCRIBE THE METHOD |
IdSet |
scan(IdRange range)
This upcall should return the set of keys that the application currently stores in this range. |
void |
setRange(IdRange range)
This upcall is to notify the application of the range of keys for which it is responsible. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public MemoryStorage storage
public Node node
| Constructor Detail |
public ReplicationRegrTest.TestReplicationClient(Node node)
node - DESCRIBE THE PARAMETER| Method Detail |
public void setRange(IdRange range)
setRange in interface ReplicationClientrange - the range of keys for which the local node is currently
responsible
public void fetch(IdSet keySet,
NodeHandle hint)
fetch in interface ReplicationClientkeySet - set containing the keys that needs to be fetchedhint - DESCRIBE THE PARAMETERpublic IdSet scan(IdRange range)
scan in interface ReplicationClientrange - the requested range
public void insert(Id id)
id - DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||