public class

ExampleProcess

extends Object
java.lang.Object
   ↳ org.apache.helix.examples.ExampleProcess

Summary

Constants
String cluster
String configFile
String help
String hostAddress
String hostPort
String relayCluster
String stateModel
String transDelay
String zkServer
Public Constructors
ExampleProcess(String zkConnectString, String clusterName, String instanceName, String file, String stateModel, int delay)
Public Methods
HelixManager getManager()
static void main(String[] args)
static void printUsage(Options cliOptions)
static CommandLine processCommandLineArgs(String[] cliArgs)
void start()
void stop()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String cluster

Constant Value: "cluster"

public static final String configFile

Constant Value: "configFile"

public static final String help

Constant Value: "help"

public static final String hostAddress

Constant Value: "host"

public static final String hostPort

Constant Value: "port"

public static final String relayCluster

Constant Value: "relayCluster"

public static final String stateModel

Constant Value: "stateModelType"

public static final String transDelay

Constant Value: "transDelay"

public static final String zkServer

Constant Value: "zkSvr"

Public Constructors

public ExampleProcess (String zkConnectString, String clusterName, String instanceName, String file, String stateModel, int delay)

Public Methods

public HelixManager getManager ()

public static void main (String[] args)

Throws
Exception

public static void printUsage (Options cliOptions)

public static CommandLine processCommandLineArgs (String[] cliArgs)

Throws
Exception

public void start ()

Throws
Exception

public void stop ()