Class DataEngineProxyConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.DataEngineProxyConfig
- All Implemented Interfaces:
Serializable
DataEngineProxyConfig caches the properties that are used to setup up the connector to a Data Engine Proxy in
the server.
This configuration class should support various types of Data Engine connectors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDataEngineProxyConfig
(DataEngineProxyConfig template) Copy data from template -
Method Summary
Modifier and TypeMethodDescriptionboolean
Provide the root URL of the Data Engine OMASProvide the server name of the Data Engine OMASint
Provide the maximum number of seconds to include for a window of polling.Provide the connection to the Data Engineint
Provide the seconds to wait between each polling of the data engine for changes.int
hashCode()
boolean
Configuration parameter controlling events client usage in the Data Engine Proxy servervoid
setAccessServiceRootURL
(String accessServiceRootURL) Set the root URL of the Data Engine OMASvoid
setAccessServiceServerName
(String accessServiceServerName) Set the server name of the Data Engine OMASvoid
setBatchWindowInSeconds
(int batchWindowInSeconds) Set the number of seconds across which to include results for a window of polling.void
setDataEngineConnection
(Connection dataEngineConnection) Set the connection to the Data Enginevoid
setEventsClientEnabled
(boolean eventsClientEnabled) Sets configuration parameter controlling events client usage in the Data Engine Proxy servervoid
setPollIntervalInSeconds
(int pollIntervalInSeconds) Set the number of seconds to wait between each polling of the data engine for changes.
-
Constructor Details
-
DataEngineProxyConfig
public DataEngineProxyConfig()Default constructor -
DataEngineProxyConfig
Copy data from template- Parameters:
template
- an existing Data Engine proxy configuration from which to copy
-
-
Method Details
-
getAccessServiceRootURL
Provide the root URL of the Data Engine OMAS- Returns:
- String
-
setAccessServiceRootURL
Set the root URL of the Data Engine OMAS- Parameters:
accessServiceRootURL
- the URL of the Data Engine OMAS
-
getAccessServiceServerName
Provide the server name of the Data Engine OMAS- Returns:
- String
-
setAccessServiceServerName
Set the server name of the Data Engine OMAS- Parameters:
accessServiceServerName
- the name of the Data Engine OMAS
-
getDataEngineConnection
Provide the connection to the Data Engine- Returns:
- Connection
-
setDataEngineConnection
Set the connection to the Data Engine- Parameters:
dataEngineConnection
- the connection to the Data Engine
-
getPollIntervalInSeconds
public int getPollIntervalInSeconds()Provide the seconds to wait between each polling of the data engine for changes. Note that this is only used by Data Engine Connectors that require polling in order to find changes.- Returns:
- int
-
setPollIntervalInSeconds
public void setPollIntervalInSeconds(int pollIntervalInSeconds) Set the number of seconds to wait between each polling of the data engine for changes. Note that this is only used by Data Engine Connectors that require polling in order to find changes.- Parameters:
pollIntervalInSeconds
- the number of seconds to wait between each poll for changes
-
getBatchWindowInSeconds
public int getBatchWindowInSeconds()Provide the maximum number of seconds to include for a window of polling. When polling, the proxy will only look for changes from the last sync time through to the max sync time + this number of seconds, to ensure that the batches of results being polled do not become too large. Note that this is only used by Data Engine Connectors that require polling in order to find changes.- Returns:
- int
-
setBatchWindowInSeconds
public void setBatchWindowInSeconds(int batchWindowInSeconds) Set the number of seconds across which to include results for a window of polling. Note that this is only used by Data Engine Connectors that require polling in order to find changes.- Parameters:
batchWindowInSeconds
- the number of seconds to include in each polling window- See Also:
-
equals
-
hashCode
public int hashCode() -
isEventsClientEnabled
public boolean isEventsClientEnabled()Configuration parameter controlling events client usage in the Data Engine Proxy server- Returns:
- true if enabled
-
setEventsClientEnabled
public void setEventsClientEnabled(boolean eventsClientEnabled) Sets configuration parameter controlling events client usage in the Data Engine Proxy server- Parameters:
eventsClientEnabled
- can events be used?
-