public static class HaltApplicationUtils.DefaultHaltInstructionsWriter extends Object implements HaltApplicationUtils.HaltInstructionsWriter
HaltApplicationUtils.HaltInstructionsWriter
- points to how
to use ZooKeeperNodeCreator
to haltConstructor and Description |
---|
DefaultHaltInstructionsWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeHaltInstructions(String zkServer,
String haltNode)
Write instructions about how to halt
|
public void writeHaltInstructions(String zkServer, String haltNode)
HaltApplicationUtils.HaltInstructionsWriter
writeHaltInstructions
in interface HaltApplicationUtils.HaltInstructionsWriter
zkServer
- ZooKeeper serverhaltNode
- ZooKeeper node which should be created in order to haltCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.