Class TokenAndRegisterResponse

java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.amrmproxy.TokenAndRegisterResponse

public class TokenAndRegisterResponse extends Object
This class contains information about the AMRM token and the RegisterApplicationMasterResponse.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TokenAndRegisterResponse(org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> pToken, org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse pResponse)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse
     
    org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TokenAndRegisterResponse

      public TokenAndRegisterResponse(org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> pToken, org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse pResponse)
  • Method Details

    • getToken

      public org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> getToken()
    • getResponse

      public org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse getResponse()