@InterfaceAudience.Public
public class QuorumPeerMain
extends java.lang.Object
| Constructor and Description |
|---|
QuorumPeerMain() |
| Modifier and Type | Method and 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.IOExceptionCopyright © 2018 The Apache Software Foundation