Package io.micronaut.cache.infinispan
Class InfinispanHotRodClientConfiguration
java.lang.Object
io.micronaut.cache.infinispan.InfinispanHotRodClientConfiguration
@ConfigurationProperties("infinispan.client.hotrod")
public class InfinispanHotRodClientConfiguration
extends Object
Infinispan HotRod client configuration properties.
- Since:
- 1.0.0
- Author:
- Álvaro Sánchez-Mariscal
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInfinispanHotRodClientConfiguration
(io.micronaut.core.io.ResourceResolver resourceResolver, org.infinispan.commons.executors.ExecutorFactory executorFactory, io.micronaut.context.env.Environment environment) -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.client.hotrod.configuration.ExecutorFactoryConfigurationBuilder
org.infinispan.client.hotrod.configuration.AuthenticationConfigurationBuilder
org.infinispan.client.hotrod.configuration.ConfigurationBuilder
org.infinispan.client.hotrod.configuration.ConnectionPoolConfigurationBuilder
org.infinispan.client.hotrod.configuration.ServerConfigurationBuilder
org.infinispan.client.hotrod.configuration.SslConfigurationBuilder
getSsl()
org.infinispan.client.hotrod.configuration.StatisticsConfigurationBuilder
void
setConfigFile
(String configFile)
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
InfinispanHotRodClientConfiguration
public InfinispanHotRodClientConfiguration(io.micronaut.core.io.ResourceResolver resourceResolver, org.infinispan.commons.executors.ExecutorFactory executorFactory, io.micronaut.context.env.Environment environment) - Parameters:
resourceResolver
- the resource resolverexecutorFactory
- the executor factoryenvironment
- the Micronaut environment
-
-
Method Details
-
getServer
public org.infinispan.client.hotrod.configuration.ServerConfigurationBuilder getServer()- Returns:
- the server configuration builder
-
getStatistics
public org.infinispan.client.hotrod.configuration.StatisticsConfigurationBuilder getStatistics()- Returns:
- the statistics builder
-
getConnectionPool
public org.infinispan.client.hotrod.configuration.ConnectionPoolConfigurationBuilder getConnectionPool()- Returns:
- the connection pool builder
-
getAsyncExecutorFactory
public org.infinispan.client.hotrod.configuration.ExecutorFactoryConfigurationBuilder getAsyncExecutorFactory()- Returns:
- the executor factory builder
-
getAuthentication
public org.infinispan.client.hotrod.configuration.AuthenticationConfigurationBuilder getAuthentication()- Returns:
- the authentication builder
-
getSsl
public org.infinispan.client.hotrod.configuration.SslConfigurationBuilder getSsl()- Returns:
- the SSL builder
-
getConfigFile
- Returns:
- the configuration file location
-
setConfigFile
- Parameters:
configFile
- the configuration file location
-
getBuilder
public org.infinispan.client.hotrod.configuration.ConfigurationBuilder getBuilder()- Returns:
- the Infinispan configuration builder that will be used to create a remote cache manager
-