public class LocalizationProtocolPBClientImpl extends Object implements LocalizationProtocol, Closeable
| Constructor and Description |
|---|
LocalizationProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
LocalizerHeartbeatResponse |
heartbeat(LocalizerStatus status) |
public LocalizationProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic LocalizerHeartbeatResponse heartbeat(LocalizerStatus status) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
heartbeat in interface LocalizationProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.