| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.sharedcachemanager.store | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<SharedCacheResourceReference> | InMemorySCMStore. getResourceReferences(String key)Returns the list of resource references currently registered under the
 cache entry. | 
| abstract Collection<SharedCacheResourceReference> | SCMStore. getResourceReferences(String key)Get the  SharedCacheResourceReference(s) associated with the
 resource. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | InMemorySCMStore. addResourceReference(String key,
                    SharedCacheResourceReference ref)Adds the provided resource reference to the cache resource under the key,
 and updates the access time. | 
| abstract String | SCMStore. addResourceReference(String key,
                    SharedCacheResourceReference ref)Add a  SharedCacheResourceReferenceto a resource and update
 the resource access time. | 
| boolean | InMemorySCMStore. removeResourceReference(String key,
                       SharedCacheResourceReference ref,
                       boolean updateAccessTime)Removes the provided resource reference from the resource. | 
| abstract boolean | SCMStore. removeResourceReference(String key,
                       SharedCacheResourceReference ref,
                       boolean updateAccessTime)Remove a  SharedCacheResourceReferencefrom a resource. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | InMemorySCMStore. removeResourceReferences(String key,
                        Collection<SharedCacheResourceReference> refs,
                        boolean updateAccessTime)Removes the provided collection of resource references from the resource. | 
| abstract void | SCMStore. removeResourceReferences(String key,
                        Collection<SharedCacheResourceReference> refs,
                        boolean updateAccessTime)Remove a collection of  SharedCacheResourceReferencesfrom a
 resource. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.