@InterfaceAudience.Public
 @InterfaceStability.Unstable
public interface ContainerSignatureMatcher
| Modifier and Type | Method and Description | 
|---|---|
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> | 
getAdditionalResources(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> lr1,
                      Map<String,org.apache.hadoop.yarn.api.records.LocalResource> lr2)
Gets additional resources specified in lr2, which are not present for lr1 
 | 
boolean | 
isExactMatch(Object cs1,
            Object cs2)
Checks if the container signatures match exactly 
 | 
boolean | 
isSuperSet(Object cs1,
          Object cs2)
Checks the compatibility between the specified container signatures. 
 | 
Object | 
union(Object cs1,
     Object cs2)
Do a union of 2 signatures
 Pre-condition. 
 | 
boolean isSuperSet(Object cs1, Object cs2)
boolean isExactMatch(Object cs1, Object cs2)
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> getAdditionalResources(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> lr1, Map<String,org.apache.hadoop.yarn.api.records.LocalResource> lr2)
lr1 - lr2 - Object union(Object cs1, Object cs2)
cs1 - Signature 1 Original signaturecs2 - Signature 2 New signatureCopyright © 2018 Apache Software Foundation. All rights reserved.