@InterfaceAudience.Private @InterfaceStability.Unstable public class GetApplicationsRequestPBImpl extends GetApplicationsRequest
Constructor and Description |
---|
GetApplicationsRequestPBImpl() |
GetApplicationsRequestPBImpl(YarnServiceProtos.GetApplicationsRequestProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
EnumSet<YarnApplicationState> |
getApplicationStates()
Get the application states to filter applications on
|
Set<String> |
getApplicationTypes()
Get the application types to filter applications on
|
YarnServiceProtos.GetApplicationsRequestProto |
getProto() |
int |
hashCode() |
void |
setApplicationStates(EnumSet<YarnApplicationState> applicationStates)
Set the application states to filter applications on
|
void |
setApplicationTypes(Set<String> applicationTypes)
Set the application types to filter applications on
|
String |
toString() |
newInstance, newInstance, newInstance, newInstance
public GetApplicationsRequestPBImpl()
public GetApplicationsRequestPBImpl(YarnServiceProtos.GetApplicationsRequestProto proto)
public YarnServiceProtos.GetApplicationsRequestProto getProto()
public Set<String> getApplicationTypes()
GetApplicationsRequest
getApplicationTypes
in class GetApplicationsRequest
public void setApplicationTypes(Set<String> applicationTypes)
GetApplicationsRequest
setApplicationTypes
in class GetApplicationsRequest
applicationTypes
- A Set of Application Types to filter on.
If not defined, match all applicationspublic EnumSet<YarnApplicationState> getApplicationStates()
GetApplicationsRequest
getApplicationStates
in class GetApplicationsRequest
public void setApplicationStates(EnumSet<YarnApplicationState> applicationStates)
GetApplicationsRequest
setApplicationStates
in class GetApplicationsRequest
applicationStates
- A Set of Application states to filter on.
If not defined, match all running applicationsCopyright © 2013 Apache Software Foundation. All rights reserved.