Interface InfinispanClientRuntimeConfig.BackupClusterConfig
- Enclosing interface:
InfinispanClientRuntimeConfig
public static interface InfinispanClientRuntimeConfig.BackupClusterConfig
-
Method Summary
Modifier and TypeMethodDescriptionOptional<org.infinispan.client.hotrod.configuration.ClientIntelligence> Sets client intelligence used by authentication Available values: * `BASIC` - Means that the client doesn't handle server topology changes and therefore will only use the list of servers supplied at configuration timehosts()Sets the host name/port to connect to.Enables or disables Protobuf generated schemas upload to the backup.
-
Method Details
-
hosts
String hosts()Sets the host name/port to connect to. Each one is separated by a semicolon (eg. hostA:11222;hostB:11222). -
clientIntelligence
@WithDefault("HASH_DISTRIBUTION_AWARE") Optional<org.infinispan.client.hotrod.configuration.ClientIntelligence> clientIntelligence()Sets client intelligence used by authentication Available values: * `BASIC` - Means that the client doesn't handle server topology changes and therefore will only use the list of servers supplied at configuration time. * `TOPOLOGY_AWARE` - Use this provider if you don't want the client to present any certificates to the remote TLS host. * `HASH_DISTRIBUTION_AWARE` - Like `TOPOLOGY_AWARE` but with the additional advantage that each request involving keys will be routed to the server who is the primary owner which improves performance greatly. This is the default. -
useSchemaRegistration
Enables or disables Protobuf generated schemas upload to the backup. Set it to 'false' when you need to handle the lifecycle of the Protobuf Schemas on Server side yourself. Default is 'true'. This setting will be ignored if the Global Setting is set up to false.
-