public final class PortAvailabilityValidationTask extends AbstractValidationTask
Constructor and Description |
---|
PortAvailabilityValidationTask(NetworkAddressUtils.ServiceType serviceType,
String owner,
AlluxioConfiguration conf)
Creates a new instance of
PortAvailabilityValidationTask . |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the task.
|
ValidationUtils.TaskResult |
validate(Map<String,String> optionsMap)
Runs the validation task.
|
getOptionList
public PortAvailabilityValidationTask(NetworkAddressUtils.ServiceType serviceType, String owner, AlluxioConfiguration conf)
PortAvailabilityValidationTask
.serviceType
- Alluxio network service whose port will be validatedowner
- Alluxio class name who owns the network serviceconf
- configurationpublic String getName()
ValidationTask
public ValidationUtils.TaskResult validate(Map<String,String> optionsMap)
ValidationTask
optionsMap
- contains string representation of Copyright © 2023. All Rights Reserved.