public static class ProgrammaticArguments.Builder extends Object
Constructor and Description |
---|
Builder() |
@NonNull public ProgrammaticArguments.Builder addTypeCodecs(@NonNull TypeCodec<?>... typeCodecs)
@NonNull public ProgrammaticArguments.Builder withNodeStateListener(@Nullable NodeStateListener nodeStateListener)
@NonNull public ProgrammaticArguments.Builder withSchemaChangeListener(@Nullable SchemaChangeListener schemaChangeListener)
@NonNull public ProgrammaticArguments.Builder withRequestTracker(@Nullable RequestTracker requestTracker)
@NonNull public ProgrammaticArguments.Builder withLocalDatacenter(@NonNull String profileName, @NonNull String localDatacenter)
@NonNull public ProgrammaticArguments.Builder clearDatacenters()
@NonNull public ProgrammaticArguments.Builder withLocalDatacenters(Map<String,String> localDatacenters)
@NonNull public ProgrammaticArguments.Builder withNodeDistanceEvaluator(@NonNull String profileName, @NonNull NodeDistanceEvaluator nodeDistanceEvaluator)
@NonNull public ProgrammaticArguments.Builder withNodeDistanceEvaluators(Map<String,NodeDistanceEvaluator> nodeDistanceReporters)
@NonNull @Deprecated public ProgrammaticArguments.Builder withNodeFilter(@NonNull String profileName, @NonNull Predicate<Node> nodeFilter)
withNodeDistanceEvaluator(String, NodeDistanceEvaluator)
instead.@NonNull @Deprecated public ProgrammaticArguments.Builder withNodeFilters(Map<String,Predicate<Node>> nodeFilters)
withNodeDistanceEvaluators(Map)
instead.@NonNull public ProgrammaticArguments.Builder withClassLoader(@Nullable ClassLoader classLoader)
@NonNull public ProgrammaticArguments.Builder withCloudProxyAddress(@Nullable InetSocketAddress cloudAddress)
@NonNull public ProgrammaticArguments.Builder withAuthProvider(@Nullable AuthProvider authProvider)
@NonNull public ProgrammaticArguments.Builder withSslEngineFactory(@Nullable SslEngineFactory sslEngineFactory)
@NonNull public ProgrammaticArguments.Builder withStartupClientId(@Nullable UUID startupClientId)
@NonNull public ProgrammaticArguments.Builder withStartupApplicationName(@Nullable String startupApplicationName)
@NonNull public ProgrammaticArguments.Builder withStartupApplicationVersion(@Nullable String startupApplicationVersion)
@NonNull public ProgrammaticArguments.Builder withCodecRegistry(@Nullable MutableCodecRegistry codecRegistry)
@NonNull public ProgrammaticArguments.Builder withMetricRegistry(@Nullable Object metricRegistry)
@NonNull public ProgrammaticArguments build()
Copyright © 2017–2024. All rights reserved.