@Public public class QuorumPeerMain extends java.lang.Object
Constructor | Description |
---|---|
QuorumPeerMain() |
Modifier and Type | Method | Description |
---|---|---|
static void |
main(java.lang.String[] args) |
To start the replicated server specify the configuration file name on
the command line.
|
void |
runFromConfig(org.apache.zookeeper.server.quorum.QuorumPeerConfig config) |
public static void main(java.lang.String[] args)
args
- path to the configfilepublic void runFromConfig(org.apache.zookeeper.server.quorum.QuorumPeerConfig config) throws java.io.IOException
java.io.IOException
Copyright © 2018 The Apache Software Foundation