org.apache.hadoop.yarn.server.timeline.security
Class TimelineDelegationTokenSecretManagerService

java.lang.Object
  extended by org.apache.hadoop.service.AbstractService
      extended by org.apache.hadoop.yarn.server.timeline.security.TimelineDelegationTokenSecretManagerService
All Implemented Interfaces:
Closeable, org.apache.hadoop.service.Service

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class TimelineDelegationTokenSecretManagerService
extends org.apache.hadoop.service.AbstractService

The service wrapper of TimelineDelegationTokenSecretManagerService.TimelineDelegationTokenSecretManager


Nested Class Summary
static class TimelineDelegationTokenSecretManagerService.TimelineDelegationTokenSecretManager
          Create a timeline secret manager
 
Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service
org.apache.hadoop.service.Service.STATE
 
Constructor Summary
TimelineDelegationTokenSecretManagerService()
           
 
Method Summary
 TimelineDelegationTokenSecretManagerService.TimelineDelegationTokenSecretManager getTimelineDelegationTokenSecretManager()
          Ge the instance of {link #TimelineDelegationTokenSecretManager}
protected  void serviceInit(org.apache.hadoop.conf.Configuration conf)
           
protected  void serviceStop()
           
 
Methods inherited from class org.apache.hadoop.service.AbstractService
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimelineDelegationTokenSecretManagerService

public TimelineDelegationTokenSecretManagerService()
Method Detail

serviceInit

protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
                    throws Exception
Overrides:
serviceInit in class org.apache.hadoop.service.AbstractService
Throws:
Exception

serviceStop

protected void serviceStop()
                    throws Exception
Overrides:
serviceStop in class org.apache.hadoop.service.AbstractService
Throws:
Exception

getTimelineDelegationTokenSecretManager

public TimelineDelegationTokenSecretManagerService.TimelineDelegationTokenSecretManager getTimelineDelegationTokenSecretManager()
Ge the instance of {link #TimelineDelegationTokenSecretManager}

Returns:
the instance of {link #TimelineDelegationTokenSecretManager}


Copyright © 2014 Apache Software Foundation. All Rights Reserved.