tachyon.conf
Class CommonConf

java.lang.Object
  extended by tachyon.conf.CommonConf

public class CommonConf
extends Object

Configurations shared by master and workers.


Field Summary
 String DATA_FOLDER
           
 String TACHYON_HOME
           
 String UNDERFS_ADDRESS
           
 String WORKERS_FOLDER
           
 
Method Summary
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 int getIntProperty(String property)
           
static int getIntProperty(String property, int 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TACHYON_HOME

public final String TACHYON_HOME

UNDERFS_ADDRESS

public final String UNDERFS_ADDRESS

DATA_FOLDER

public final String DATA_FOLDER

WORKERS_FOLDER

public final String WORKERS_FOLDER
Method Detail

get

public static CommonConf get()

clear

public static void clear()
This is for unit test only. DO NOT use it for other purpose.


getProperty

public static String getProperty(String property)

getProperty

public static String getProperty(String property,
                                 String defaultValue)

getBooleanProperty

public static boolean getBooleanProperty(String property)

getBooleanProperty

public static boolean getBooleanProperty(String property,
                                         boolean defaultValue)

getIntProperty

public static int getIntProperty(String property)

getIntProperty

public static int getIntProperty(String property,
                                 int defaultValue)

getLongProperty

public static long getLongProperty(String property)

getLongProperty

public static long getLongProperty(String property,
                                   int defaultValue)


Copyright © 2013. All Rights Reserved.