public class BlockingLoader extends Loader
batch, batchSize, enqueuedJobs, errorJobs, finishedJobs, loadingJobs, threadsNumber| Constructor and Description |
|---|
BlockingLoader(String graphName) |
| 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, handleError, printLoaderState, setBatchSize, setThreadsNumberpublic BlockingLoader(String graphName)
public void setExecutorSize(int size)
public void waitToFinish()
LoaderwaitToFinish in class Loaderprotected void submitBatch(Collection<Var> vars)
LoadersubmitBatch in class LoaderCopyright © 2016. All rights reserved.