Tabnine Logo
TokenRenewer.handleKind
Code IndexAdd Tabnine to your IDE (free)

How to use
handleKind
method
in
org.apache.hadoop.security.token.TokenRenewer

Best Java code snippets using org.apache.hadoop.security.token.TokenRenewer.handleKind (Showing top 5 results out of 315)

origin: org.apache.hadoop/hadoop-common

private synchronized TokenRenewer getRenewer() throws IOException {
 if (renewer != null) {
  return renewer;
 }
 renewer = TRIVIAL_RENEWER;
 synchronized (renewers) {
  for (TokenRenewer canidate : renewers) {
   if (canidate.handleKind(this.kind)) {
    renewer = canidate;
    return renewer;
   }
  }
 }
 LOG.warn("No TokenRenewer defined for token kind " + this.kind);
 return renewer;
}
origin: io.hops/hadoop-common

private synchronized TokenRenewer getRenewer() throws IOException {
 if (renewer != null) {
  return renewer;
 }
 renewer = TRIVIAL_RENEWER;
 synchronized (renewers) {
  for (TokenRenewer canidate : renewers) {
   if (canidate.handleKind(this.kind)) {
    renewer = canidate;
    return renewer;
   }
  }
 }
 LOG.warn("No TokenRenewer defined for token kind " + this.kind);
 return renewer;
}
origin: ch.cern.hadoop/hadoop-common

private synchronized TokenRenewer getRenewer() throws IOException {
 if (renewer != null) {
  return renewer;
 }
 renewer = TRIVIAL_RENEWER;
 synchronized (renewers) {
  for (TokenRenewer canidate : renewers) {
   if (canidate.handleKind(this.kind)) {
    renewer = canidate;
    return renewer;
   }
  }
 }
 LOG.warn("No TokenRenewer defined for token kind " + this.kind);
 return renewer;
}
origin: com.github.jiayuhan-it/hadoop-common

private synchronized TokenRenewer getRenewer() throws IOException {
 if (renewer != null) {
  return renewer;
 }
 renewer = TRIVIAL_RENEWER;
 synchronized (renewers) {
  for (TokenRenewer canidate : renewers) {
   if (canidate.handleKind(this.kind)) {
    renewer = canidate;
    return renewer;
   }
  }
 }
 LOG.warn("No TokenRenewer defined for token kind " + this.kind);
 return renewer;
}
origin: io.prestosql.hadoop/hadoop-apache

private synchronized TokenRenewer getRenewer() throws IOException {
 if (renewer != null) {
  return renewer;
 }
 renewer = TRIVIAL_RENEWER;
 synchronized (renewers) {
  for (TokenRenewer canidate : renewers) {
   if (canidate.handleKind(this.kind)) {
    renewer = canidate;
    return renewer;
   }
  }
 }
 LOG.warn("No TokenRenewer defined for token kind " + this.kind);
 return renewer;
}
org.apache.hadoop.security.tokenTokenRenewerhandleKind

Javadoc

Does this renewer handle this kind of token?

Popular methods of TokenRenewer

  • cancel
    Cancel the given token
  • isManaged
    Is the given token managed? Only managed tokens may be renewed or cancelled.
  • renew
    Renew the given token.

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • String (java.lang)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now