use of org.jgroups.protocols.FILE_PING 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);
}
Aggregations