\r\n

51Degrees IP Intelligence Java  4.5

IP Intelligence services for 51Degrees Pipeline

fiftyone.ipintelligence.examples.console.UpdateDataFile Class Reference

Detailed Description

This example illustrates various parameters that can be adjusted when using the on-premise IP Intelligence engine, and controls when a new data file is sought and when it is loaded by the IP Intelligence software.

Three main aspects are demonstrated:

  1. Update on Start-Up
  2. Filesystem Watcher
  3. Daily auto-update

For production use, you will eventually need to use a Distributor service and license key to keep your data file updated. However, for now this example requires a custom URL where an updated data file will be hosted.

To obtain access to enterprise data files, please contact us. This license key must be supplied as a command line argument or by setting an environment variable or system property called UpdateDataFile#UPDATE_EXAMPLE_LICENSE_KEY_NAME

Collaboration diagram for fiftyone.ipintelligence.examples.console.UpdateDataFile:

[legend]

Classes

class  UpdateCompletionListener

Static Public Member Functions

static void  main (String[] args) throws Exception

Static Public Attributes

static final String  UPDATE_EXAMPLE_LICENSE_KEY_NAME = "LicenseKey"
static final String  DEFAULT_DATA_FILENAME

Member Data Documentation

◆ DEFAULT_DATA_FILENAME

final String fiftyone.ipintelligence.examples.console.UpdateDataFile.DEFAULT_DATA_FILENAME
static
Initial value:
=
System.getProperty("user.dir") + File.separator + ENTERPRISE_DATA_FILE_REL_PATH
On This Page