Search in sources :

Example 6 with SHARED_LOOPBACK

use of org.jgroups.protocols.SHARED_LOOPBACK in project JGroups by belaban.

the class FrozenCoordinatorTest method create.

protected JChannel create(String name) throws Exception {
    FILE_PING ping = new FILE_PING().setLocation(root_dir.toString()).removeAllDataOnViewChange(true);
    Protocol[] protocols = { new SHARED_LOOPBACK(), ping, new NAKACK2(), new UNICAST3(), new STABLE(), new GMS().setJoinTimeout(1000).setMaxJoinAttempts(5) };
    return new JChannel(protocols).name(name);
}
Also used : SHARED_LOOPBACK(org.jgroups.protocols.SHARED_LOOPBACK) FILE_PING(org.jgroups.protocols.FILE_PING) NAKACK2(org.jgroups.protocols.pbcast.NAKACK2) JChannel(org.jgroups.JChannel) STABLE(org.jgroups.protocols.pbcast.STABLE) Protocol(org.jgroups.stack.Protocol) GMS(org.jgroups.protocols.pbcast.GMS) UNICAST3(org.jgroups.protocols.UNICAST3)

Aggregations

SHARED_LOOPBACK (org.jgroups.protocols.SHARED_LOOPBACK)6 UNICAST3 (org.jgroups.protocols.UNICAST3)6 GMS (org.jgroups.protocols.pbcast.GMS)6 NAKACK2 (org.jgroups.protocols.pbcast.NAKACK2)6 SHARED_LOOPBACK_PING (org.jgroups.protocols.SHARED_LOOPBACK_PING)4 STABLE (org.jgroups.protocols.pbcast.STABLE)3 JChannel (org.jgroups.JChannel)2 DISCARD (org.jgroups.protocols.DISCARD)2 FILE_PING (org.jgroups.protocols.FILE_PING)1 PING (org.jgroups.protocols.PING)1 Protocol (org.jgroups.stack.Protocol)1