public abstract class MonkeyFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CALM |
protected Set<String> |
columnFamilies |
static String |
DATA_ISSUES |
static String |
DISTRIBUTED_ISSUES |
static Map<String,MonkeyFactory> |
FACTORIES |
private static org.slf4j.Logger |
LOG |
static String |
MASTER_KILLING |
static String |
MOB_NO_KILL |
static String |
MOB_SLOW_DETERMINISTIC |
static String |
NO_KILL |
protected Properties |
properties |
static String |
SERVER_AND_DEPENDENCIES_KILLING |
static String |
SERVER_KILLING |
static String |
SLOW_DETERMINISTIC |
static String |
STRESS_AM |
protected org.apache.hadoop.hbase.TableName |
tableName |
static String |
UNBALANCE |
protected IntegrationTestingUtility |
util |
Constructor and Description |
---|
MonkeyFactory() |
Modifier and Type | Method and Description |
---|---|
abstract ChaosMonkey |
build() |
static MonkeyFactory |
getFactory(String factoryName) |
MonkeyFactory |
setColumnFamilies(Set<String> columnFamilies) |
MonkeyFactory |
setProperties(Properties props) |
MonkeyFactory |
setTableName(org.apache.hadoop.hbase.TableName tableName) |
MonkeyFactory |
setUtil(IntegrationTestingUtility util) |
private static final org.slf4j.Logger LOG
protected org.apache.hadoop.hbase.TableName tableName
protected Set<String> columnFamilies
protected IntegrationTestingUtility util
protected Properties properties
public static final String CALM
public static final String SLOW_DETERMINISTIC
public static final String UNBALANCE
public static final String SERVER_KILLING
public static final String STRESS_AM
public static final String NO_KILL
public static final String MASTER_KILLING
public static final String MOB_NO_KILL
public static final String MOB_SLOW_DETERMINISTIC
public static final String SERVER_AND_DEPENDENCIES_KILLING
public static final String DISTRIBUTED_ISSUES
public static final String DATA_ISSUES
public static Map<String,MonkeyFactory> FACTORIES
public MonkeyFactory()
public MonkeyFactory setTableName(org.apache.hadoop.hbase.TableName tableName)
public MonkeyFactory setColumnFamilies(Set<String> columnFamilies)
public MonkeyFactory setUtil(IntegrationTestingUtility util)
public MonkeyFactory setProperties(Properties props)
public abstract ChaosMonkey build()
public static MonkeyFactory getFactory(String factoryName)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.