tachyon.conf
Class UserConf

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

public class UserConf
extends Object


Field Summary
 int FAILED_SPACE_REQUEST_LIMITS
           
 int FILE_BUFFER_BYTES
           
 int HEARTBEAT_INTERVAL_MS
           
 long QUOTA_UNIT_BYTES
           
 
Method Summary
static void clear()
          This is for unit test only.
static UserConf 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

FAILED_SPACE_REQUEST_LIMITS

public final int FAILED_SPACE_REQUEST_LIMITS

QUOTA_UNIT_BYTES

public final long QUOTA_UNIT_BYTES

FILE_BUFFER_BYTES

public final int FILE_BUFFER_BYTES

HEARTBEAT_INTERVAL_MS

public final int HEARTBEAT_INTERVAL_MS
Method Detail

get

public static UserConf 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.