public class EntityCacheItem extends Object
Constructor and Description |
---|
EntityCacheItem(org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId gId,
org.apache.hadoop.conf.Configuration config) |
Modifier and Type | Method and 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 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.IOException
public void forceRelease()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.