org.apache.hadoop.yarn.logaggregation
Class AggregatedLogDeletionService

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService
All Implemented Interfaces:
Service

public class AggregatedLogDeletionService
extends AbstractService


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service
Service.STATE
 
Constructor Summary
AggregatedLogDeletionService()
           
 
Method Summary
 void start()
          Start the service.
 void stop()
          Stop the service.
 
Methods inherited from class org.apache.hadoop.yarn.service.AbstractService
getConfig, getName, getServiceState, getStartTime, init, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatedLogDeletionService

public AggregatedLogDeletionService()
Method Detail

start

public void start()
Description copied from class: AbstractService
Start the service. The transition should be from Service.STATE.INITED to Service.STATE.STARTED unless the operation failed and an exception was raised.

Specified by:
start in interface Service
Overrides:
start in class AbstractService

stop

public void stop()
Description copied from class: AbstractService
Stop the service. This operation must be designed to complete regardless of the initial state of the service, including the state of all its internal fields.

Specified by:
stop in interface Service
Overrides:
stop in class AbstractService


Copyright © 2013 Apache Software Foundation. All Rights Reserved.