congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
StorageClientSettings_Builder.clearStatsLogger
Code IndexAdd Tabnine to your IDE (free)

How to use
clearStatsLogger
method
in
org.apache.bookkeeper.clients.config.StorageClientSettings_Builder

Best Java code snippets using org.apache.bookkeeper.clients.config.StorageClientSettings_Builder.clearStatsLogger (Showing top 2 results out of 315)

origin: org.apache.bookkeeper/stream-storage-java-client-base

/**
 * Sets the value to be returned by {@link StorageClientSettings#statsLogger()}.
 *
 * @return this {@code Builder} object
 */
public StorageClientSettings.Builder statsLogger(Optional<? extends StatsLogger> statsLogger) {
 if (statsLogger.isPresent()) {
  return statsLogger(statsLogger.get());
 } else {
  return clearStatsLogger();
 }
}
origin: org.apache.bookkeeper/stream-storage-java-client-base

/**
 * Sets the value to be returned by {@link StorageClientSettings#statsLogger()}.
 *
 * @return this {@code Builder} object
 */
public StorageClientSettings.Builder nullableStatsLogger(@Nullable StatsLogger statsLogger) {
 if (statsLogger != null) {
  return statsLogger(statsLogger);
 } else {
  return clearStatsLogger();
 }
}
org.apache.bookkeeper.clients.configStorageClientSettings_BuilderclearStatsLogger

Javadoc

Sets the value to be returned by StorageClientSettings#statsLogger() to Optional#empty().

Popular methods of StorageClientSettings_Builder

  • backoffPolicy
    Sets the value to be returned by StorageClientSettings#backoffPolicy().
  • build
    Returns a newly-created StorageClientSettings based on the contents of the Builder.
  • clearClientName
    Sets the value to be returned by StorageClientSettings#clientName() to Optional#empty().
  • clientName
    Sets the value to be returned by StorageClientSettings#clientName().
  • enableServerSideRouting
    Sets the value to be returned by StorageClientSettings#enableServerSideRouting().
  • endpointResolver
    Sets the value to be returned by StorageClientSettings#endpointResolver().
  • numWorkerThreads
    Sets the value to be returned by StorageClientSettings#numWorkerThreads().
  • serviceUri
    Sets the value to be returned by StorageClientSettings#serviceUri().
  • statsLogger
    Sets the value to be returned by StorageClientSettings#statsLogger().
  • usePlaintext
    Sets the value to be returned by StorageClientSettings#usePlaintext().

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • putExtra (Intent)
  • compareTo (BigDecimal)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top plugins for WebStorm
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