|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.p2p.replication.manager.testing.ReplicationManagerRegrTest.TestReplicationManagerClient
DESCRIBE THE CLASS
Field Summary | |
Node |
node
|
IdSet |
set
|
Constructor Summary | |
ReplicationManagerRegrTest.TestReplicationManagerClient(Node node)
|
Method Summary | |
boolean |
exists(Id id)
This upcall should return whether or not the given id is currently stored by the client. |
void |
fetch(Id id,
Continuation command)
This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed. |
void |
insert(Id id)
|
void |
remove(Id id,
Continuation command)
This upcall is to notify the client that the given id can be safely removed from the storage. |
IdSet |
scan(IdRange range)
This upcall should return the set of keys that the application currently stores in this range. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Node node
public IdSet set
Constructor Detail |
public ReplicationManagerRegrTest.TestReplicationManagerClient(Node node)
Method Detail |
public void fetch(Id id, Continuation command)
ReplicationManagerClient
fetch
in interface ReplicationManagerClient
id
- The id to fetchpublic void remove(Id id, Continuation command)
ReplicationManagerClient
remove
in interface ReplicationManagerClient
id
- The id to removepublic IdSet scan(IdRange range)
ReplicationManagerClient
scan
in interface ReplicationManagerClient
range
- the requested rangepublic void insert(Id id)
public boolean exists(Id id)
ReplicationManagerClient
exists
in interface ReplicationManagerClient
id
- The id in question
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |