| Modifier and Type | Class and Description |
|---|---|
static interface |
ClientConf.ConfEntry |
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentMap<String,String> |
config |
static boolean |
TEST_MODE |
| Modifier | Constructor and Description |
|---|---|
protected |
ClientConf(Properties config) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(ClientConf.ConfEntry e) |
String |
get(String key) |
boolean |
getBoolean(ClientConf.ConfEntry e) |
int |
getInt(ClientConf.ConfEntry e) |
long |
getLong(ClientConf.ConfEntry e) |
long |
getTimeAsMs(ClientConf.ConfEntry e) |
Iterator<Map.Entry<String,String>> |
iterator() |
T |
set(ClientConf.ConfEntry e,
Object value) |
T |
set(String key,
String value) |
T |
setAll(ClientConf<?> other) |
T |
setIfMissing(String key,
String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final boolean TEST_MODE
protected final ConcurrentMap<String,String> config
protected ClientConf(Properties config)
public T setAll(ClientConf<?> other)
public String get(ClientConf.ConfEntry e)
public boolean getBoolean(ClientConf.ConfEntry e)
public int getInt(ClientConf.ConfEntry e)
public long getLong(ClientConf.ConfEntry e)
public long getTimeAsMs(ClientConf.ConfEntry e)
public T set(ClientConf.ConfEntry e, Object value)
Copyright © 2017 Cloudera Inc. All rights reserved.