public abstract class HTraceConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static HTraceConfiguration |
EMPTY
An empty HTrace configuration.
|
| Constructor and Description |
|---|
HTraceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static HTraceConfiguration |
fromMap(Map<String,String> conf)
Create an HTrace configuration from a map.
|
abstract String |
get(String key) |
abstract String |
get(String key,
String defaultValue) |
boolean |
getBoolean(String key,
boolean defaultValue) |
int |
getInt(String key,
int defaultVal) |
public static final HTraceConfiguration EMPTY
public static HTraceConfiguration fromMap(Map<String,String> conf)
conf - The map to create the configuration from.public boolean getBoolean(String key, boolean defaultValue)
public int getInt(String key, int defaultVal)
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.