Class AggregatedLogFormat.LogRetentionContext
java.lang.Object
org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogRetentionContext
- Enclosing class:
- AggregatedLogFormat
A context for log retention to determine if files are older than
the retention policy configured in YarnConfiguration.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LogRetentionContext
public LogRetentionContext(long logInitedTimeMillis, long logRetentionMillis)
-
-
Method Details
-
isDisabled
public boolean isDisabled() -
shouldRetainLog
public boolean shouldRetainLog()
-