private final class FiddlerImpl.SetLocatorsTask extends Object implements Runnable
Task
object that is placed
in the TaskManager
queue for processing in the thread
pool. Instances of this class are placed on the task queue when
a registration has requested the replacement of the set of locators
that currently will be discovered for it.Modifier and Type | Field and Description |
---|---|
LookupLocator[] |
locators
The locator set with which to replace the registration's old set
|
FiddlerImpl.RegistrationInfo |
regInfo
Data structure record of the registration that made the request
|
Constructor and Description |
---|
SetLocatorsTask(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Constructs an instance of this class and stores the input
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
private void |
setRegInfoLocators(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Replaces the registration's managed set of locators with the new
locators (even if the new set of locators is empty -- this just
means locator discovery will be "turned off" for this registration)
|
public final FiddlerImpl.RegistrationInfo regInfo
public final LookupLocator[] locators
public SetLocatorsTask(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
private void setRegInfoLocators(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.