public class BlockingLoader extends Loader
batch, batchSize, enqueuedJobs, errorJobs, finishedJobs, loadingJobs, threadsNumber| Constructor and Description |
|---|
BlockingLoader(String graphNameInit) |
| Modifier and Type | Method and Description |
|---|---|
void |
setExecutorSize(int size) |
protected void |
submitBatch(Collection<Var> vars)
Method to load data into the graph.
|
void |
waitToFinish()
Wait for all loading to terminate.
|
addToQueue, addToQueue, addToQueue, flush, getBatchSize, printLoaderState, setBatchSize, setThreadsNumberpublic BlockingLoader(String graphNameInit)
public void setExecutorSize(int size)
protected void submitBatch(Collection<Var> vars)
LoadersubmitBatch in class Loaderpublic void waitToFinish()
LoaderwaitToFinish in class LoaderCopyright © 2016. All rights reserved.