org.apache.hadoop.yarn.server.nodemanager.api.impl.pb.client
Class LocalizationProtocolPBClientImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.server.nodemanager.api.impl.pb.client.LocalizationProtocolPBClientImpl
All Implemented Interfaces:
Closeable, LocalizationProtocol

public class LocalizationProtocolPBClientImpl
extends Object
implements LocalizationProtocol, Closeable


Constructor Summary
LocalizationProtocolPBClientImpl(long clientVersion, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 void close()
           
 LocalizerHeartbeatResponse heartbeat(LocalizerStatus status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizationProtocolPBClientImpl

public LocalizationProtocolPBClientImpl(long clientVersion,
                                        InetSocketAddress addr,
                                        org.apache.hadoop.conf.Configuration conf)
                                 throws IOException
Throws:
IOException
Method Detail

close

public void close()
Specified by:
close in interface Closeable

heartbeat

public LocalizerHeartbeatResponse heartbeat(LocalizerStatus status)
                                     throws org.apache.hadoop.yarn.exceptions.YarnException,
                                            IOException
Specified by:
heartbeat in interface LocalizationProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnException
IOException


Copyright © 2013 Apache Software Foundation. All Rights Reserved.