|
|
int | latencyInternalPort |
| | port information for latency testing. This is the AppPort's internal port, not public mapped port for current AppInst. Use 0 for selecting the first available port, favoring TCP.
|
| |
|
int | reconnectDelayMs |
| |
|
NetTest.TestType | latencyTestType = NetTest.TestType.CONNECT |
| | TCP connect default. Use ping for UDP.
|
| |
|
UpdateConfig | latencyUpdateConfig |
| | config for latency updates
|
| |
|
UpdateConfig | locationUpdateConfig |
| | config for gps location updates
|
| |
|
double | latencyThresholdTrigger |
| | latency threshold in ms when new FindCloudlet is triggered
|
| |
|
MatchingEngine.FindCloudletMode | latencyTriggerTestMode |
| |
|
float | performanceSwitchMargin |
| | Average performance must be by better by this latency margin (0 to 1.0f) before notifying of switch.
|
| |
|
EnumSet< FindCloudletEventTrigger > | triggers |
| | events that application wants a new find cloudlet for
|
| |
EdgeEventsConfig is used to configure EdgeEvent parameters.
◆ EdgeEventsConfig()
| com.mobiledgex.matchingengine.edgeeventsconfig.EdgeEventsConfig.EdgeEventsConfig |
( |
EdgeEventsConfig |
edgeEventsConfig | ) |
|
copy constructor.
- Parameters
-
| edgeEventsConfig | an existing EdgeEvents config. |
◆ createDefaultEdgeEventsConfig() [1/2]
| static EdgeEventsConfig com.mobiledgex.matchingengine.edgeeventsconfig.EdgeEventsConfig.createDefaultEdgeEventsConfig |
( |
| ) |
|
|
static |
- Returns
- A DefaultEdgeEvents config profile.
◆ createDefaultEdgeEventsConfig() [2/2]
| static EdgeEventsConfig com.mobiledgex.matchingengine.edgeeventsconfig.EdgeEventsConfig.createDefaultEdgeEventsConfig |
( |
double |
latencyUpdateIntervalSeconds, |
|
|
double |
locationUpdateIntervalSeconds, |
|
|
double |
latencyThresholdTriggerMs, |
|
|
int |
latencyInternalPort |
|
) |
| |
|
static |
[exampleedgeeventsconfig]
Helper util method to create a useful config for EdgeEventsConfig.
- Parameters
-
| latencyUpdateIntervalSeconds | time in seconds between attempts to test edge server latency. |
| locationUpdateIntervalSeconds | time in seconds between attempts to inform the attached DME the current client GPS location. |
| latencyThresholdTriggerMs | specifies the minimum acceptable tested performance, before informing client with a new EdgeEvent. |
Example