◆ build()
Pipeline fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.build | ( | ) | throws Exception |
Build and return a pipeline that can perform IP Intelligence.
- Returns
- the built pipeline
- Exceptions
-
- Exception - on error
\r\n
Builder used to create pipelines with an on-premise IP Intelligence engine.
IPIntelligenceOnPremisePipelineBuilder | setShareUsage (boolean enabled)
Set share usage enabled/disabled. More...
|
IPIntelligenceOnPremisePipelineBuilder | setAutoUpdate (boolean enabled)
Enable/Disable auto update. More...
|
IPIntelligenceOnPremisePipelineBuilder | setDataFileSystemWatcher (boolean enabled)
The DataUpdateService has the ability to watch a file on disk and refresh the engine as soon as that file is updated. More...
|
IPIntelligenceOnPremisePipelineBuilder | setDataUpdateService (DataUpdateService dataUpdateService)
Automatic updates require a DataUpdateService. More...
|
IPIntelligenceOnPremisePipelineBuilder | setDataUpdateOnStartup (boolean enabled)
Enable/Disable update on startup. More...
|
IPIntelligenceOnPremisePipelineBuilder | setUpdatePollingInterval (int pollingIntervalSeconds)
Set the time between checks for a new data file made by the DataUpdateService in seconds. More...
|
IPIntelligenceOnPremisePipelineBuilder | setUpdatePollingIntervalMillis (long pollingIntervalMillis)
Set the time between checks for a new data file made by the DataUpdateService in milliseconds. More...
|
IPIntelligenceOnPremisePipelineBuilder | setUpdateRandomisationMax (int randomisationMaxSeconds)
A random element can be added to the DataUpdateService polling interval. More...
|
IPIntelligenceOnPremisePipelineBuilder | setUpdateRandomisationMaxMillis (long randomisationMaxMillis)
A random element can be added to the DataUpdateService polling interval. More...
|
IPIntelligenceOnPremisePipelineBuilder | setDataUpdateLicenseKey (String key)
Set the license key used when checking for new IP Intelligence data files. More...
|
IPIntelligenceOnPremisePipelineBuilder | setPerformanceProfile (Constants.PerformanceProfiles profile)
Set the performance profile for the IP Intelligence engine. More...
|
IPIntelligenceOnPremisePipelineBuilder | setConcurrency (int concurrency)
Set the expected number of concurrent operations using the engine. More...
|
IPIntelligenceOnPremisePipelineBuilder | setProperty (String property)
Add a property to the list of properties that the engine will populate in the response. More...
|
IPIntelligenceOnPremisePipelineBuilder | setDataUpdateUrl (String url)
Configure the engine to use the specified URL when looking for an updated data file. More...
|
IPIntelligenceOnPremisePipelineBuilder | setDataUpdateVerifyMd5 (Boolean verify)
Set a value indicating if the DataUpdateService should expect the response from the data update URL to contain a 'content-md5' HTTP header that can be used to verify the integrity of the content. More...
|
IPIntelligenceOnPremisePipelineBuilder | setDataUpdateUrlFormatter (DataUpdateUrlFormatter formatter)
Specify a DataUpdateUrlFormatter to be used by the DataUpdateService when building the complete URL to query for updated data. More...
|
Pipeline | build () throws Exception
Build and return a pipeline that can perform IP Intelligence. More...
|
Pipeline fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.build | ( | ) | throws Exception |
Build and return a pipeline that can perform IP Intelligence.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setAutoUpdate | ( | boolean | enabled | ) |
Enable/Disable auto update.
Defaults to enabled. If enabled, the auto update system will automatically download and apply new data files for IP Intelligence.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setConcurrency | ( | int | concurrency | ) |
Set the expected number of concurrent operations using the engine.
This sets the concurrency of the internal caches to avoid excessive locking.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setDataFileSystemWatcher | ( | boolean | enabled | ) |
The DataUpdateService has the ability to watch a file on disk and refresh the engine as soon as that file is updated.
This setting enables/disables that feature.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setDataUpdateLicenseKey | ( | String | key | ) |
Set the license key used when checking for new IP Intelligence data files.
Defaults to null.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setDataUpdateOnStartup | ( | boolean | enabled | ) |
Enable/Disable update on startup.
Defaults to enabled. If enabled, the auto update system will be used to check for an update before the IP Intelligence engine is created. If an update is available, it will be downloaded and applied before the pipeline is built and returned for use so this may take some time.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setDataUpdateService | ( | DataUpdateService | dataUpdateService | ) |
Automatic updates require a DataUpdateService.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setDataUpdateUrl | ( | String | url | ) |
Configure the engine to use the specified URL when looking for an updated data file.
Default is the 51Degrees update URL
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setDataUpdateUrlFormatter | ( | DataUpdateUrlFormatter | formatter | ) |
Specify a DataUpdateUrlFormatter to be used by the DataUpdateService when building the complete URL to query for updated data.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setDataUpdateVerifyMd5 | ( | Boolean | verify | ) |
Set a value indicating if the DataUpdateService should expect the response from the data update URL to contain a 'content-md5' HTTP header that can be used to verify the integrity of the content.
Default true
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setPerformanceProfile | ( | Constants.PerformanceProfiles | profile | ) |
Set the performance profile for the IP Intelligence engine.
Defaults to balanced.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setProperty | ( | String | property | ) |
Add a property to the list of properties that the engine will populate in the response.
By default all properties will be populated.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setShareUsage | ( | boolean | enabled | ) |
Set share usage enabled/disabled.
Defaults to enabled.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setUpdatePollingInterval | ( | int | pollingIntervalSeconds | ) |
Set the time between checks for a new data file made by the DataUpdateService in seconds.
Default = 30 minutes.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setUpdatePollingIntervalMillis | ( | long | pollingIntervalMillis | ) |
Set the time between checks for a new data file made by the DataUpdateService in milliseconds.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setUpdateRandomisationMax | ( | int | randomisationMaxSeconds | ) |
A random element can be added to the DataUpdateService polling interval.
This option sets the maximum length of this random addition. Default = 10 minutes.
IPIntelligenceOnPremisePipelineBuilder fiftyone.ipintelligence.IPIntelligenceOnPremisePipelineBuilder.setUpdateRandomisationMaxMillis | ( | long | randomisationMaxMillis | ) |
A random element can be added to the DataUpdateService polling interval.
This option sets the maximum length of this random addition. Default = 10 minutes.