public class LDAPLoader extends java.lang.Object implements EPFileLoader, java.lang.Runnable
| Constructor and Description |
|---|
LDAPLoader(LDAPLoaderConfig ldConfig)
Creates an LDAPLoader object using the given loader config object.
|
LDAPLoader(LDAPLoaderConfig ldConfig,
java.lang.String filePath)
Creates an LDAPLoader object using the given loader config object,
and the specified output file.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilePath()
Allows inquisition on the file to which this loader is writing
data.
|
java.lang.String |
getKey()
This method returns a string key which can be used inside an NPL
program to address the "table" which will be holding the data
provided by this loader, e.g.
|
EPFileLoaderConfig |
getLoaderConfig()
Allows inquisition on the EPFileLoaderConfig which configures
this loader.
|
boolean |
isHealthy()
Used to help determine the health of the node using this loader.
|
static void |
main(java.lang.String[] argv) |
void |
run() |
void |
setFilePath(java.lang.String filePath)
This method is called by the user of the loader object
which implements EPFileLoader to specify the file where the
loader will write its data using the enhancer file format.
|
void |
setLoaderConfig(EPFileLoaderConfig loaderConfig)
User of the loader object will call this method to specify an
EPFileLoaderConfig which will know how to configure this loader.
|
void |
shutdown()
Shutsdown any thread associated with this loader.
|
void |
start()
Starts any thread associated with this loader.
|
public LDAPLoader(LDAPLoaderConfig ldConfig)
ldConfig - LDAPLoaderConfig objectpublic LDAPLoader(LDAPLoaderConfig ldConfig, java.lang.String filePath)
ldConfig - LDAPLoaderConfig objectfilePath - file to which data will be loaded bu this loader.public static void main(java.lang.String[] argv)
public void run()
run in interface java.lang.Runnablepublic boolean isHealthy()
public void setFilePath(java.lang.String filePath)
setFilePath in interface EPFileLoaderpublic java.lang.String getFilePath()
getFilePath in interface EPFileLoaderpublic void setLoaderConfig(EPFileLoaderConfig loaderConfig)
setLoaderConfig in interface EPFileLoaderpublic EPFileLoaderConfig getLoaderConfig()
getLoaderConfig in interface EPFileLoaderpublic java.lang.String getKey()
getKey in interface EPFileLoaderpublic void start()
start in interface EPFileLoaderpublic void shutdown()
shutdown in interface EPFileLoader