| Constructor and Description | 
|---|
| Builder() | 
| Modifier and Type | Method and Description | 
|---|---|
| Policies | build()Builds the final object from this builder. | 
| Policies.Builder | withAddressTranslator(AddressTranslator addressTranslator)Sets the address translator. | 
| Policies.Builder | withEndPointFactory(EndPointFactory endPointFactory) | 
| Policies.Builder | withLoadBalancingPolicy(LoadBalancingPolicy loadBalancingPolicy)Sets the load balancing policy. | 
| Policies.Builder | withReconnectionPolicy(ReconnectionPolicy reconnectionPolicy)Sets the reconnection policy. | 
| Policies.Builder | withRetryPolicy(RetryPolicy retryPolicy)Sets the retry policy. | 
| Policies.Builder | withSpeculativeExecutionPolicy(SpeculativeExecutionPolicy speculativeExecutionPolicy)Sets the speculative execution policy. | 
| Policies.Builder | withTimestampGenerator(TimestampGenerator timestampGenerator)Sets the timestamp generator. | 
public Policies.Builder withLoadBalancingPolicy(LoadBalancingPolicy loadBalancingPolicy)
loadBalancingPolicy - see Policies.getLoadBalancingPolicy().public Policies.Builder withReconnectionPolicy(ReconnectionPolicy reconnectionPolicy)
reconnectionPolicy - see Policies.getReconnectionPolicy().public Policies.Builder withRetryPolicy(RetryPolicy retryPolicy)
retryPolicy - see Policies.getRetryPolicy().public Policies.Builder withAddressTranslator(AddressTranslator addressTranslator)
addressTranslator - see Policies.getAddressTranslator().public Policies.Builder withTimestampGenerator(TimestampGenerator timestampGenerator)
timestampGenerator - see Policies.getTimestampGenerator().public Policies.Builder withSpeculativeExecutionPolicy(SpeculativeExecutionPolicy speculativeExecutionPolicy)
speculativeExecutionPolicy - see Policies.getSpeculativeExecutionPolicy().public Policies.Builder withEndPointFactory(EndPointFactory endPointFactory)
public Policies build()
Any field that hasn't been set explicitly will get its default value.
Copyright © 2012–2025. All rights reserved.