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
SharedCacheResourceReference to 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
SharedCacheResourceReference from 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
SharedCacheResourceReferences from a
resource. |
Copyright © 2020 Apache Software Foundation. All rights reserved.