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

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

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

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

/**
 * If the value to be returned by {@link StorageClientSettings#statsLogger()} is present, replaces
 * it by applying {@code mapper} to it and using the result.
 *
 * <p>If the result is null, clears the value.
 *
 * @return this {@code Builder} object
 * @throws NullPointerException if {@code mapper} is null
 */
public StorageClientSettings.Builder mapStatsLogger(UnaryOperator<StatsLogger> mapper) {
 return statsLogger(statsLogger().map(mapper));
}
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_BuilderstatsLogger

Javadoc

Returns the value that will be returned by StorageClientSettings#statsLogger().

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().
  • clearStatsLogger
    Sets the value to be returned by StorageClientSettings#statsLogger() 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().
  • 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
  • Github Copilot alternatives
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