Tabnine Logo
StorageClientSettings.clientName
Code IndexAdd Tabnine to your IDE (free)

How to use
clientName
method
in
org.apache.bookkeeper.clients.config.StorageClientSettings

Best Java code snippets using org.apache.bookkeeper.clients.config.StorageClientSettings.clientName (Showing top 1 results out of 315)

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

/** Sets all property values using the given {@code StorageClientSettings} as a template. */
public StorageClientSettings.Builder mergeFrom(StorageClientSettings value) {
 StorageClientSettings_Builder _defaults = StorageClientSettings.newBuilder();
 if (!Objects.equals(value.numWorkerThreads(), _defaults.numWorkerThreads())) {
  numWorkerThreads(value.numWorkerThreads());
 }
 if (_defaults._unsetProperties.contains(StorageClientSettings_Builder.Property.SERVICE_URI)
   || !Objects.equals(value.serviceUri(), _defaults.serviceUri())) {
  serviceUri(value.serviceUri());
 }
 if (!Objects.equals(value.endpointResolver(), _defaults.endpointResolver())) {
  endpointResolver(value.endpointResolver());
 }
 if (!Objects.equals(value.usePlaintext(), _defaults.usePlaintext())) {
  usePlaintext(value.usePlaintext());
 }
 value.clientName().ifPresent(this::clientName);
 value.statsLogger().ifPresent(this::statsLogger);
 if (!Objects.equals(value.backoffPolicy(), _defaults.backoffPolicy())) {
  backoffPolicy(value.backoffPolicy());
 }
 if (!Objects.equals(value.enableServerSideRouting(), _defaults.enableServerSideRouting())) {
  enableServerSideRouting(value.enableServerSideRouting());
 }
 return (StorageClientSettings.Builder) this;
}
org.apache.bookkeeper.clients.configStorageClientSettingsclientName

Javadoc

Configure the client name.

Popular methods of StorageClientSettings

  • newBuilder
  • backoffPolicy
    Configure a backoff policy for the client.There are a few default backoff policies defined in org.ap
  • enableServerSideRouting
    Configure whether to enable server side routing or not.By default, the client implementation will do
  • serviceUri
    Returns the service uri that storage client should talk to.
  • endpointResolver
    Return the endpoint resolver for resolving individual endpoints.The default resolver is an identity
  • numWorkerThreads
    Returns the number of worker threads in the core scheduler used by the client.
  • statsLogger
    Configure a stats logger to collect stats exposed by this client.
  • usePlaintext
    Use of a plaintext connection to the server. By default a secure connection mechanism such as TLS wi

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • setContentView (Activity)
  • getApplicationContext (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top Sublime Text plugins
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