public class LoadRunner extends Object
Modifier and Type | Field and Description |
---|---|
protected BlockingQueue<List<String>> |
blockingQueue |
static List<String> |
POISON_PILL |
Constructor and Description |
---|
LoadRunner(String loader,
String database,
int numThreads,
CellBaseConfiguration cellBaseConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
load(Path filePath,
String data) |
void |
load(Path filePath,
String data,
String field,
String[] innerFields) |
protected BlockingQueue<List<String>> blockingQueue
public LoadRunner(String loader, String database, int numThreads, CellBaseConfiguration cellBaseConfiguration)
public void load(Path filePath, String data) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException, ExecutionException, InterruptedException, IOException
public void load(Path filePath, String data, String field, String[] innerFields) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException, ExecutionException, InterruptedException, IOException
Copyright © 2019. All rights reserved.