@Immutable @ThreadSafe public class CreateEnsembleOptions extends ContainerOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateEnsembleOptions.Builder<B extends CreateEnsembleOptions.Builder<?>> |
| Modifier and Type | Field and Description |
|---|---|
static String |
AGENT_AUTOSTART |
static String |
DEFAULT_DATA_DIR |
static String |
DEFAULT_IMPORT_PATH |
static int |
DEFAULT_INIT_LIMIT |
static long |
DEFAULT_MIGRATION_TIMEOUT |
static int |
DEFAULT_SYNC_LIMIT |
static int |
DEFAULT_TICKTIME |
static String |
ENSEMBLE_AUTOSTART |
static String |
PROFILES_AUTOIMPORT |
static String |
PROFILES_AUTOIMPORT_PATH |
static String |
ROLE_DELIMITER |
static String |
ZOOKEEPER_PASSWORD |
static String |
ZOOKEEPER_SERVER_CONNECTION_PORT |
static String |
ZOOKEEPER_SERVER_PORT |
BIND_ADDRESS, DEFAULT_VERSION, PROFILES, VERSION| Modifier and Type | Method and Description |
|---|---|
static CreateEnsembleOptions.Builder<? extends CreateEnsembleOptions.Builder<?>> |
builder() |
static String |
generatePassword()
Generate a random String that can be used as a Zookeeper password.
|
long |
getBootstrapTimeout() |
String |
getImportPath() |
long |
getMigrationTimeout() |
Map<String,String> |
getUsers() |
String |
getZookeeperPassword() |
int |
getZooKeeperServerConnectionPort() |
String |
getZooKeeperServerDataDir() |
int |
getZooKeeperServerInitLimit() |
int |
getZooKeeperServerPort() |
int |
getZooKeeperServerSyncLimit() |
int |
getZooKeeperServerTickTime() |
boolean |
isAgentEnabled() |
boolean |
isAutoImportEnabled() |
boolean |
isClean() |
boolean |
isEnsembleStart() |
boolean |
isWaitForProvision() |
String |
toString() |
getBindAddress, getDataStoreProperties, getGlobalResolver, getManualIp, getMaximumPort, getMinimumPort, getProfiles, getResolver, getVersionpublic static final String AGENT_AUTOSTART
public static final String ENSEMBLE_AUTOSTART
public static final String PROFILES_AUTOIMPORT
public static final String PROFILES_AUTOIMPORT_PATH
public static final String DEFAULT_IMPORT_PATH
public static final String ZOOKEEPER_PASSWORD
public static String ZOOKEEPER_SERVER_PORT
public static String ZOOKEEPER_SERVER_CONNECTION_PORT
public static final String ROLE_DELIMITER
public static final long DEFAULT_MIGRATION_TIMEOUT
public static final int DEFAULT_TICKTIME
public static final int DEFAULT_INIT_LIMIT
public static final int DEFAULT_SYNC_LIMIT
public static final String DEFAULT_DATA_DIR
public static CreateEnsembleOptions.Builder<? extends CreateEnsembleOptions.Builder<?>> builder()
public int getZooKeeperServerPort()
public int getZooKeeperServerConnectionPort()
public int getZooKeeperServerTickTime()
public int getZooKeeperServerInitLimit()
public int getZooKeeperServerSyncLimit()
public String getZooKeeperServerDataDir()
public String getZookeeperPassword()
public boolean isEnsembleStart()
public boolean isAgentEnabled()
public boolean isAutoImportEnabled()
public String getImportPath()
public boolean isWaitForProvision()
public long getBootstrapTimeout()
public long getMigrationTimeout()
public boolean isClean()
public String toString()
toString in class ContainerOptionspublic static String generatePassword()
Copyright © 2011–2014 Red Hat. All rights reserved.