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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    InfinispanHotRodClientConfiguration(io.micronaut.core.io.ResourceResolver resourceResolver, org.infinispan.commons.executors.ExecutorFactory executorFactory, io.micronaut.context.env.Environment environment)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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
     
    org.infinispan.client.hotrod.configuration.StatisticsConfigurationBuilder
     
    void
    setConfigFile(String configFile)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 resolver
      executorFactory - the executor factory
      environment - 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

      public String getConfigFile()
      Returns:
      the configuration file location
    • setConfigFile

      public void setConfigFile(String configFile)
      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