ClientToAMTokenSelector (Apache Hadoop YARN Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.security.client, class: ClientToAMTokenSelector

Package org.apache.hadoop.yarn.security.client

# Class ClientToAMTokenSelector

java.lang.Object
org.apache.hadoop.yarn.security.client.ClientToAMTokenSelector

All Implemented Interfaces:
  `org.apache.hadoop.security.token.TokenSelector<ClientToAMTokenIdentifier>`

public class ClientToAMTokenSelector extends Object implements org.apache.hadoop.security.token.TokenSelector<ClientToAMTokenIdentifier>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClientToAMTokenSelector()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.apache.hadoop.security.token.Token<ClientToAMTokenIdentifier>`
  `selectToken(org.apache.hadoop.io.Text service, Collection<org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> tokens)`

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

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

- ## Constructor Details

  - ### ClientToAMTokenSelector

    public ClientToAMTokenSelector()

- ## Method Details

  - ### selectToken

    public org.apache.hadoop.security.token.Token<ClientToAMTokenIdentifier> selectToken(org.apache.hadoop.io.Text service, Collection<org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> tokens)
    Specified by:
      `selectToken` in interface `org.apache.hadoop.security.token.TokenSelector<ClientToAMTokenIdentifier>`