public interface AMRegistrar
Although the interface contains a deregister call, the implementation should automatically deregister on death of the AM to prevent zombie registrations. (The production system, ZK, handles this via ephemeral znodes.)
Modifier and Type | Interface and Description |
---|---|
static class |
AMRegistrar.AMRegistrationException |
Modifier and Type | Method and Description |
---|---|
void |
deregister() |
void |
register(String amHost,
int amPort,
String appId) |
void register(String amHost, int amPort, String appId) throws AMRegistrar.AMRegistrationException
void deregister()
Copyright © 1970 The Apache Software Foundation. All rights reserved.