org.apache.hadoop.yarn.api.records
Class PreemptionContainer

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.PreemptionContainer

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

Specific container requested back by the ResourceManager.

See Also:
PreemptionContract, StrictPreemptionContract

Constructor Summary
PreemptionContainer()
           
 
Method Summary
abstract  ContainerId getId()
           
static PreemptionContainer newInstance(ContainerId id)
           
abstract  void setId(ContainerId id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreemptionContainer

public PreemptionContainer()
Method Detail

newInstance

@InterfaceAudience.Private
@InterfaceStability.Unstable
public static PreemptionContainer newInstance(ContainerId id)

getId

@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract ContainerId getId()
Returns:
Container referenced by this handle.

setId

@InterfaceAudience.Private
@InterfaceStability.Unstable
public abstract void setId(ContainerId id)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.