AggregatedLogDeletionService.LogDeletionTask (Apache Hadoop YARN Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.logaggregation, class: AggregatedLogDeletionService, class: LogDeletionTask

Package org.apache.hadoop.yarn.logaggregation

# Class AggregatedLogDeletionService.LogDeletionTask

java.lang.Object
java.util.TimerTask
org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService.LogDeletionTask

All Implemented Interfaces:
  `Runnable`

Enclosing class:
  AggregatedLogDeletionService

public static class AggregatedLogDeletionService.LogDeletionTask extends TimerTask

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LogDeletionTask(org.apache.hadoop.conf.Configuration conf, long retentionSecs, org.apache.hadoop.yarn.api.ApplicationClientProtocol rmClient, LogAggregationFileController fileController)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.apache.hadoop.yarn.api.ApplicationClientProtocol`
  `getRMClient()`
  `void`
  `run()`

  ### Methods inherited from class java.util.TimerTask

  `cancel, scheduledExecutionTime`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LogDeletionTask

    public LogDeletionTask(org.apache.hadoop.conf.Configuration conf, long retentionSecs, org.apache.hadoop.yarn.api.ApplicationClientProtocol rmClient, LogAggregationFileController fileController)

- ## Method Details

  - ### run

    public void run()
    Specified by:
      `run` in interface `Runnable`
    Specified by:
      `run` in class `TimerTask`

  - ### getRMClient

    public org.apache.hadoop.yarn.api.ApplicationClientProtocol getRMClient()