Class RedisRuntimeHints

java.lang.Object
org.springframework.data.redis.aot.RedisRuntimeHints
All Implemented Interfaces:
org.springframework.aot.hint.RuntimeHintsRegistrar

public class RedisRuntimeHints extends Object implements org.springframework.aot.hint.RuntimeHintsRegistrar
RuntimeHintsRegistrar for Redis operations and repository support.
Since:
3.0
Author:
Christoph Strobl
  • Constructor Details

    • RedisRuntimeHints

      public RedisRuntimeHints()
  • Method Details

    • redisHints

      public static org.springframework.aot.hint.RuntimeHints redisHints(Consumer<org.springframework.aot.hint.RuntimeHints> config)
      Get a RuntimeHints instance containing the ones for Redis.
      Parameters:
      config - callback to provide additional custom hints.
      Returns:
      new instance of RuntimeHints.
    • registerHints

      public void registerHints(org.springframework.aot.hint.RuntimeHints hints, @Nullable ClassLoader classLoader)
      Specified by:
      registerHints in interface org.springframework.aot.hint.RuntimeHintsRegistrar