Class GetApplicationHomeSubClusterRequestPBImpl
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetApplicationHomeSubClusterRequest
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.GetApplicationHomeSubClusterRequestPBImpl
@Private
@Unstable
public class GetApplicationHomeSubClusterRequestPBImpl
extends GetApplicationHomeSubClusterRequest
Protocol buffer based implementation of
GetApplicationHomeSubClusterRequest.-
Constructor Summary
ConstructorsConstructorDescriptionGetApplicationHomeSubClusterRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetApplicationHomeSubClusterRequestProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.api.records.ApplicationIdGet theApplicationIdrepresenting the unique identifier of the application.booleanGet the flag that indicates whether appSubmissionContext should be returned.org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetApplicationHomeSubClusterRequestProtogetProto()inthashCode()voidsetApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId) Set theApplicationIdrepresenting the unique identifier of the application.voidsetContainsAppSubmissionContext(boolean containsAppSubmissionContext) Set the flag that indicates whether appSubmissionContext should be returned.toString()Methods inherited from class org.apache.hadoop.yarn.server.federation.store.records.GetApplicationHomeSubClusterRequest
newInstance, newInstance
-
Constructor Details
-
GetApplicationHomeSubClusterRequestPBImpl
public GetApplicationHomeSubClusterRequestPBImpl() -
GetApplicationHomeSubClusterRequestPBImpl
public GetApplicationHomeSubClusterRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetApplicationHomeSubClusterRequestProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetApplicationHomeSubClusterRequestProto getProto() -
hashCode
public int hashCode() -
equals
-
toString
-
getApplicationId
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()Description copied from class:GetApplicationHomeSubClusterRequestGet theApplicationIdrepresenting the unique identifier of the application.- Specified by:
getApplicationIdin classGetApplicationHomeSubClusterRequest- Returns:
- the application identifier
-
setApplicationId
public void setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId) Description copied from class:GetApplicationHomeSubClusterRequestSet theApplicationIdrepresenting the unique identifier of the application.- Specified by:
setApplicationIdin classGetApplicationHomeSubClusterRequest- Parameters:
applicationId- the application identifier
-
getContainsAppSubmissionContext
public boolean getContainsAppSubmissionContext()Description copied from class:GetApplicationHomeSubClusterRequestGet the flag that indicates whether appSubmissionContext should be returned. The reason for adding this variable is due to the consideration that appSubmissionContext is not commonly used and its data size can be large.- Specified by:
getContainsAppSubmissionContextin classGetApplicationHomeSubClusterRequest- Returns:
- whether to return appSubmissionContext.
-
setContainsAppSubmissionContext
public void setContainsAppSubmissionContext(boolean containsAppSubmissionContext) Description copied from class:GetApplicationHomeSubClusterRequestSet the flag that indicates whether appSubmissionContext should be returned.- Specified by:
setContainsAppSubmissionContextin classGetApplicationHomeSubClusterRequest- Parameters:
containsAppSubmissionContext- whether to return appSubmissionContext.
-