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