@InterfaceAudience.Private @InterfaceStability.Evolving public class SharedCacheResourceReference extends Object
Constructor and Description |
---|
SharedCacheResourceReference(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String shortUserName)
Create a resource reference.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.apache.hadoop.yarn.api.records.ApplicationId |
getAppId() |
String |
getShortUserName() |
int |
hashCode() |
public SharedCacheResourceReference(org.apache.hadoop.yarn.api.records.ApplicationId appId, String shortUserName)
appId
- ApplicationId
that is referencing a resource.shortUserName
- ShortUserName
of the user that created
the reference.Copyright © 2008–2020 Apache Software Foundation. All rights reserved.