@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface DNSOperations
extends org.apache.hadoop.service.Service
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String path,
ServiceRecord record)
Delete a service's registered endpoints.
|
void |
register(String path,
ServiceRecord record)
Register a service based on a service record.
|
void register(String path, ServiceRecord record) throws IOException
path - the ZK path.record - record providing DNS registration info.IOException - Any other IO Exception.void delete(String path, ServiceRecord record) throws IOException
path - the ZK path.record - service recordIOException - Any other IO ExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.