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.
|
ValidationTaskResult |
validateImpl(Map<String,String> optionsMap) |
getOptionList, validate
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 ValidationTaskResult validateImpl(Map<String,String> optionsMap)
validateImpl
in class AbstractValidationTask
Copyright © 2023. All Rights Reserved.