public class EntityCacheItem
extends java.lang.Object
| Constructor | Description |
|---|---|
EntityCacheItem(org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId gId,
org.apache.hadoop.conf.Configuration config) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
forceRelease() |
Force releasing the cache item for the given group id, even though there
may be active references.
|
org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.AppLogs |
getAppLogs() |
|
org.apache.hadoop.yarn.server.timeline.TimelineStore |
getStore() |
|
org.apache.hadoop.yarn.server.timeline.TimelineStore |
refreshCache(org.apache.hadoop.yarn.server.timeline.security.TimelineACLsManager aclManager,
EntityGroupFSTimelineStoreMetrics metrics) |
Refresh this cache item if it needs refresh.
|
void |
setAppLogs(org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.AppLogs incomingAppLogs) |
Set the application logs to this cache item.
|
public EntityCacheItem(org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId gId,
org.apache.hadoop.conf.Configuration config)
public org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.AppLogs getAppLogs()
public void setAppLogs(org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.AppLogs incomingAppLogs)
incomingAppLogs - Application logs this cache item mapped topublic org.apache.hadoop.yarn.server.timeline.TimelineStore getStore()
public org.apache.hadoop.yarn.server.timeline.TimelineStore refreshCache(org.apache.hadoop.yarn.server.timeline.security.TimelineACLsManager aclManager,
EntityGroupFSTimelineStoreMetrics metrics)
throws java.io.IOException
aclManager - ACL manager for the timeline storagemetrics - Metrics to trace the status of the entity group storeTimelineStore
object filled with all entities in the group.java.io.IOExceptionpublic void forceRelease()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.