Interface CacheRemoteConfigProvider

All Superinterfaces:
Provider
All Known Implementing Classes:
DefaultCacheRemoteConfigProviderFactory, DisabledCacheRemoteConfigProviderFactory

public interface CacheRemoteConfigProvider extends Provider
A provider to create a configuration to the Hot Rod client.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    Optional<org.infinispan.client.hotrod.configuration.Configuration>
    Creates the Configuration for the Hot Rod client.
  • Method Details

    • configuration

      Optional<org.infinispan.client.hotrod.configuration.Configuration> configuration()
      Creates the Configuration for the Hot Rod client.

      The optional signal if a Hot Rod client should be instantiated and started. If present, it assumes an external Infinispan cluster is ready and online, otherwise Keycloak fails to start.

      Returns:
      The Configuration for the Hot Rod client.
    • close

      default void close()
      Specified by:
      close in interface Provider