Tabnine Logo
Authentication.close
Code IndexAdd Tabnine to your IDE (free)

How to use
close
method
in
org.apache.pulsar.client.api.Authentication

Best Java code snippets using org.apache.pulsar.client.api.Authentication.close (Showing top 5 results out of 315)

origin: apache/pulsar

@Override
public void shutdown() throws PulsarClientException {
  try {
    lookup.close();
    cnxPool.close();
    timer.stop();
    externalExecutorProvider.shutdownNow();
    conf.getAuthentication().close();
  } catch (Throwable t) {
    log.warn("Failed to shutdown Pulsar client", t);
    throw new PulsarClientException(t);
  }
}
origin: org.apache.pulsar/pulsar-client-admin-original

  /**
   * Close the Pulsar admin client to release all the resources
   */
  @Override
  public void close() {
    try {
      if (auth != null) {
        auth.close();
      }
    } catch (IOException e) {
      LOG.error("Failed to close the authentication service", e);
    }
    client.close();
  }
}
origin: org.apache.pulsar/pulsar-client-original

@Override
public void shutdown() throws PulsarClientException {
  try {
    lookup.close();
    cnxPool.close();
    timer.stop();
    externalExecutorProvider.shutdownNow();
    conf.getAuthentication().close();
  } catch (Throwable t) {
    log.warn("Failed to shutdown Pulsar client", t);
    throw new PulsarClientException(t);
  }
}
origin: org.apache.pulsar/pulsar-proxy

} catch (Exception e) {
  try {
    auth.close();
  } catch (IOException ioe) {
    LOG.error("Failed to close the authentication service", ioe);
origin: org.apache.pulsar/pulsar-client-admin-original

try {
  if (auth != null) {
    auth.close();
org.apache.pulsar.client.apiAuthenticationclose

Popular methods of Authentication

  • getAuthData
  • start
    Initialize the authentication provider
  • getAuthMethodName
  • configure
    Configure the authentication plugins with the supplied parameters

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • 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