org.apache.hadoop.yarn.server.api.protocolrecords
Class ReplaceLabelsOnNodeRequest

java.lang.Object
  extended by org.apache.hadoop.yarn.server.api.protocolrecords.ReplaceLabelsOnNodeRequest

@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract class ReplaceLabelsOnNodeRequest
extends Object


Constructor Summary
ReplaceLabelsOnNodeRequest()
           
 
Method Summary
abstract  Map<NodeId,Set<String>> getNodeToLabels()
           
static ReplaceLabelsOnNodeRequest newInstance(Map<NodeId,Set<String>> map)
           
abstract  void setNodeToLabels(Map<NodeId,Set<String>> map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplaceLabelsOnNodeRequest

public ReplaceLabelsOnNodeRequest()
Method Detail

newInstance

public static ReplaceLabelsOnNodeRequest newInstance(Map<NodeId,Set<String>> map)

setNodeToLabels

@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract void setNodeToLabels(Map<NodeId,Set<String>> map)

getNodeToLabels

@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract Map<NodeId,Set<String>> getNodeToLabels()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.