org.apache.hadoop.yarn.api.records.impl.pb
Class ReservationIdPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ReservationId
      extended by org.apache.hadoop.yarn.api.records.impl.pb.ReservationIdPBImpl
All Implemented Interfaces:
Comparable<org.apache.hadoop.yarn.api.records.ReservationId>

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class ReservationIdPBImpl
extends org.apache.hadoop.yarn.api.records.ReservationId


Field Summary
 
Fields inherited from class org.apache.hadoop.yarn.api.records.ReservationId
clusterTimestamp, id, reserveIdStrPrefix
 
Constructor Summary
ReservationIdPBImpl()
           
ReservationIdPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.ReservationIdProto proto)
           
 
Method Summary
protected  void build()
           
 long getClusterTimestamp()
           
 long getId()
           
 org.apache.hadoop.yarn.proto.YarnProtos.ReservationIdProto getProto()
           
protected  void setClusterTimestamp(long clusterTimestamp)
           
protected  void setId(long id)
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.ReservationId
compareTo, equals, hashCode, newInstance, parseReservationId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReservationIdPBImpl

public ReservationIdPBImpl()

ReservationIdPBImpl

public ReservationIdPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.ReservationIdProto proto)
Method Detail

getProto

public org.apache.hadoop.yarn.proto.YarnProtos.ReservationIdProto getProto()

getId

public long getId()
Specified by:
getId in class org.apache.hadoop.yarn.api.records.ReservationId

setId

protected void setId(long id)
Specified by:
setId in class org.apache.hadoop.yarn.api.records.ReservationId

getClusterTimestamp

public long getClusterTimestamp()
Specified by:
getClusterTimestamp in class org.apache.hadoop.yarn.api.records.ReservationId

setClusterTimestamp

protected void setClusterTimestamp(long clusterTimestamp)
Specified by:
setClusterTimestamp in class org.apache.hadoop.yarn.api.records.ReservationId

build

protected void build()
Specified by:
build in class org.apache.hadoop.yarn.api.records.ReservationId


Copyright © 2014 Apache Software Foundation. All Rights Reserved.