ApplicationServiceRecordProcessor, BaseServiceRecordProcessor, ContainerServiceRecordProcessorpublic interface ServiceRecordProcessor
| Modifier and Type | Method | Description |
|---|---|---|
int[] |
getRecordTypes() |
Return the DNS record types valid for this processor.
|
void |
initTypeToInfoMapping(ServiceRecord serviceRecord) |
Initialize the mapping between DNS record type and record information
for the given service record.
|
void |
manageDNSRecords(org.apache.hadoop.registry.server.dns.RegistryDNS.RegistryCommand command) |
Manage the creation and registration of DNS records generated by parsing
a service record.
|
void initTypeToInfoMapping(ServiceRecord serviceRecord) throws java.lang.Exception
serviceRecord - the registry service record.java.lang.Exception - if encountering an error.int[] getRecordTypes()
void manageDNSRecords(org.apache.hadoop.registry.server.dns.RegistryDNS.RegistryCommand command)
throws java.io.IOException
command - the DNS registration command object (e.g. add_record,
remove record)java.io.IOException - if the creation or registration generates an issue.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.