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
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public LocalizerHeartbeatResponse heartbeat(LocalizerStatus status) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
heartbeat
in interface LocalizationProtocol
org.apache.hadoop.yarn.exceptions.YarnException
IOException
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.