public class CommonConf extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
ASYNC_ENABLED |
static com.google.common.collect.ImmutableList<String> |
DEFAULT_HADOOP_UFS_PREFIX |
com.google.common.collect.ImmutableList<String> |
HADOOP_UFS_PREFIXES |
boolean |
IN_TEST_MODE |
int |
MASTER_RETRY_COUNT |
int |
MAX_COLUMNS |
int |
MAX_TABLE_METADATA_BYTE |
String |
TACHYON_HOME |
String |
UNDERFS_ADDRESS |
String |
UNDERFS_DATA_FOLDER |
String |
UNDERFS_GLUSTERFS_IMPL |
String |
UNDERFS_GLUSTERFS_MOUNTS |
String |
UNDERFS_GLUSTERFS_MR_DIR |
String |
UNDERFS_GLUSTERFS_VOLUMES |
String |
UNDERFS_HDFS_IMPL |
String |
UNDERFS_WORKERS_FOLDER |
boolean |
USE_ZOOKEEPER |
String |
WEB_RESOURCES |
String |
ZOOKEEPER_ADDRESS |
String |
ZOOKEEPER_ELECTION_PATH |
String |
ZOOKEEPER_LEADER_PATH |
Modifier and Type | Method and Description |
---|---|
static void |
assertValidPort(InetSocketAddress address) |
static void |
assertValidPort(int port) |
static void |
clear()
This is for unit test only.
|
static CommonConf |
get() |
static boolean |
getBooleanProperty(String property) |
static boolean |
getBooleanProperty(String property,
boolean defaultValue) |
static <T extends Enum<T>> |
getEnumProperty(String property,
T defaultValue) |
static Integer |
getIntegerProperty(String property,
Integer defaultValue) |
static int |
getIntProperty(String property) |
static int |
getIntProperty(String property,
int defaultValue) |
static com.google.common.collect.ImmutableList<String> |
getListProperty(String property,
com.google.common.collect.ImmutableList<String> defaultValue) |
static long |
getLongProperty(String property) |
static long |
getLongProperty(String property,
int defaultValue) |
static String |
getProperty(String property) |
static String |
getProperty(String property,
String defaultValue) |
public static final com.google.common.collect.ImmutableList<String> DEFAULT_HADOOP_UFS_PREFIX
public final String TACHYON_HOME
public final String UNDERFS_ADDRESS
public final String UNDERFS_DATA_FOLDER
public final String UNDERFS_WORKERS_FOLDER
public final String UNDERFS_HDFS_IMPL
public final String UNDERFS_GLUSTERFS_IMPL
public final String UNDERFS_GLUSTERFS_VOLUMES
public final String UNDERFS_GLUSTERFS_MOUNTS
public final String UNDERFS_GLUSTERFS_MR_DIR
public final String WEB_RESOURCES
public final boolean USE_ZOOKEEPER
public final String ZOOKEEPER_ADDRESS
public final String ZOOKEEPER_ELECTION_PATH
public final String ZOOKEEPER_LEADER_PATH
public final boolean ASYNC_ENABLED
public final int MAX_COLUMNS
public final int MAX_TABLE_METADATA_BYTE
public final com.google.common.collect.ImmutableList<String> HADOOP_UFS_PREFIXES
public final boolean IN_TEST_MODE
public final int MASTER_RETRY_COUNT
public static void clear()
public static CommonConf get()
public static void assertValidPort(int port)
public static void assertValidPort(InetSocketAddress address)
public static boolean getBooleanProperty(String property)
public static boolean getBooleanProperty(String property, boolean defaultValue)
public static <T extends Enum<T>> T getEnumProperty(String property, T defaultValue)
public static int getIntProperty(String property)
public static int getIntProperty(String property, int defaultValue)
public static long getLongProperty(String property)
public static long getLongProperty(String property, int defaultValue)
public static com.google.common.collect.ImmutableList<String> getListProperty(String property, com.google.common.collect.ImmutableList<String> defaultValue)
Copyright © 2015. All Rights Reserved.