Class AggregatedLogFormat.LogRetentionContext

java.lang.Object
org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogRetentionContext
Enclosing class:
AggregatedLogFormat

public static class AggregatedLogFormat.LogRetentionContext extends Object
A context for log retention to determine if files are older than the retention policy configured in YarnConfiguration.
  • Constructor Details

    • LogRetentionContext

      public LogRetentionContext(long logInitedTimeMillis, long logRetentionMillis)
  • Method Details

    • isDisabled

      public boolean isDisabled()
    • shouldRetainLog

      public boolean shouldRetainLog()