org.apache.hadoop.yarn.api.records
Interface DelegationToken

All Known Subinterfaces:
ContainerToken

@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface DelegationToken

The Delegation tokens have a identifier which maps to AbstractDelegationTokenIdentifier.


Method Summary
 ByteBuffer getIdentifier()
          Get the token identifier.
 String getKind()
          Get the token kind.
 ByteBuffer getPassword()
          Get the token password
 String getService()
          Get the service to which the token is allocated.
 

Method Detail

getIdentifier

@InterfaceAudience.Public
@InterfaceStability.Stable
ByteBuffer getIdentifier()
Get the token identifier.

Returns:
token identifier

getPassword

@InterfaceAudience.Public
@InterfaceStability.Stable
ByteBuffer getPassword()
Get the token password

Returns:
token password

getKind

@InterfaceAudience.Public
@InterfaceStability.Stable
String getKind()
Get the token kind.

Returns:
token kind

getService

@InterfaceAudience.Public
@InterfaceStability.Stable
String getService()
Get the service to which the token is allocated.

Returns:
service to which the token is allocated


Copyright © 2013 Apache Software Foundation. All Rights Reserved.