|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationPolicy
Nested Class Summary | |
---|---|
static class |
ReplicationPolicy.DefaultReplicationPolicy
The default policy for Replication, which simply does a direct diff between the sets |
Method Summary | |
---|---|
IdSet |
difference(IdSet local,
IdSet remote,
IdFactory factory)
This method is given a list of local ids and a list of remote ids, and should return the list of remote ids which need to be fetched. |
Method Detail |
---|
IdSet difference(IdSet local, IdSet remote, IdFactory factory)
local
- The set of local idsremote
- The set of remote idsfactory
- The factory to use to create IdSets
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |