| java.lang.Object org.space4j.demos.phonebook.PhoneBook org.space4j.demos.phonebook.PhoneBookCluster
PhoneBookCluster | public class PhoneBookCluster extends PhoneBook (Code) | | This is to show you how simple it is to make a Space4J cluster!
To make a cluster, open up two shells (or DOS) and execute in the first:
java org.space4j.demos.phonebook.PhoneBookCluster master
and in the second:
java org.space4j.demos.PhoneBookCluster slave 127.0.0.1
You can also use two different machines. Just pass the master IP address to the slave instead of 127.0.0.1.
IMPORTANT: You must have the main Space4J dir (space4j_db) mounted, so both machines can have access to it.
|
Method Summary | |
public static void | main(String[] args) |
|
|