| org.jgroups.tests.VirtualSynchronyTest
VirtualSynchronyTest | public class VirtualSynchronyTest extends TestCase (Code) | | Virtual Synchrony guarantees that views in a group are observed
in the same order by all group members and that views are totally ordered
with respect to all regular messages in a group.
Therefore, in virtually synchronous group communication model, all members
that observe the same two consecutive views, receive the same set of regular
multicast messages between those two views.
VirtualSynchronyTest verifies virtual synchrony as follows. Each surviving member P
from a view Vm that receives a new view Vn sends a message M to group coordinator Q
containing number of messages received in view Vm. Each member P upon receiving
a new view sends a random number of messages to everyone in the group.
Group coordinator Q upon receiving each message M from a member P verifies
if virtual synchrony is satisifed.
author: Vladimir Blagojevic version: $Id$ |
VirtualSynchronyTest | public VirtualSynchronyTest(String arg0)(Code) | | |
getRandomDelayInSeconds | protected int getRandomDelayInSeconds(int from, int to)(Code) | | |
suite | public static Test suite()(Code) | | |
|
|