public class InternalDataProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static InternalDataProvider |
instance
The Constant instance.
|
private static org.slf4j.Logger |
logger
The logger.
|
Modifier | Constructor and Description |
---|---|
private |
InternalDataProvider()
Instantiates a new internal data provider.
|
Modifier and Type | Method and Description |
---|---|
void |
filterUnsafeOrUnnecessaryRequest(java.util.Map<java.lang.String,NodeReqResponse> nodeDataMapValidSource,
java.util.Map<java.lang.String,NodeReqResponse> nodeDataMapValidSafe)
Filter unsafe or unnecessary request.
|
void |
genNodeDataMap(ParallelTask task)
Generate node data map.
|
static InternalDataProvider |
getInstance()
Gets the single instance of InternalDataProvider.
|
private static org.slf4j.Logger logger
private static final InternalDataProvider instance
private InternalDataProvider()
public static InternalDataProvider getInstance()
public void genNodeDataMap(ParallelTask task)
task
- the job infopublic void filterUnsafeOrUnnecessaryRequest(java.util.Map<java.lang.String,NodeReqResponse> nodeDataMapValidSource, java.util.Map<java.lang.String,NodeReqResponse> nodeDataMapValidSafe)
nodeDataMapValidSource
- the node data map valid sourcenodeDataMapValidSafe
- the node data map valid safe