|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.p2p.replication.ReplicationPolicy.DefaultReplicationPolicy
public static class ReplicationPolicy.DefaultReplicationPolicy
The default policy for Replication, which simply does a direct diff between the sets
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface rice.p2p.replication.ReplicationPolicy |
|---|
ReplicationPolicy.DefaultReplicationPolicy |
| Constructor Summary | |
|---|---|
ReplicationPolicy.DefaultReplicationPolicy()
|
|
| Method Summary | |
|---|---|
IdSet |
difference(IdSet local,
IdSet remote,
IdFactory factory)
This method simply returns remote-local. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReplicationPolicy.DefaultReplicationPolicy()
| Method Detail |
|---|
public IdSet difference(IdSet local,
IdSet remote,
IdFactory factory)
difference in interface ReplicationPolicylocal - 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 | |||||||||