|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.zookeeper.server.quorum.QuorumPeerMain
public class QuorumPeerMain
| Field Summary | |
|---|---|
protected QuorumPeer |
quorumPeer
|
| Constructor Summary | |
|---|---|
QuorumPeerMain()
|
|
| Method Summary | |
|---|---|
protected void |
initializeAndRun(java.lang.String[] args)
|
static void |
main(java.lang.String[] args)
To start the replicated server specify the configuration file name on the command line. |
void |
runFromConfig(QuorumPeerConfig config)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected QuorumPeer quorumPeer
| Constructor Detail |
|---|
public QuorumPeerMain()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - path to the configfile
protected void initializeAndRun(java.lang.String[] args)
throws QuorumPeerConfig.ConfigException,
java.io.IOException
QuorumPeerConfig.ConfigException
java.io.IOException
public void runFromConfig(QuorumPeerConfig config)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||