Interface IMineRedis


  • public interface IMineRedis
    • Method Detail

      • getLogger

        @NotNull
        @NotNull java.util.logging.Logger getLogger()
      • getServerID

        @NotNull
        @NotNull java.lang.String getServerID()
      • supplyServerID

        void supplyServerID​(@Nullable
                            @Nullable java.util.function.Supplier<java.lang.String> idProvider)
      • create

        @NotNull
        @NotNull RedisManager create​(@NotNull
                                     @NotNull io.lettuce.core.RedisURI url,
                                     @NotNull
                                     @NotNull io.lettuce.core.resource.ClientResources resources,
                                     @NotNull
                                     @NotNull io.lettuce.core.ClientOptions options)
      • create

        @NotNull
        default @NotNull RedisManager create​(@NotNull
                                             @NotNull io.lettuce.core.RedisURI url,
                                             @NotNull
                                             @NotNull io.lettuce.core.ClientOptions options)
      • create

        @NotNull
        default @NotNull RedisManager create​(@NotNull
                                             @NotNull io.lettuce.core.RedisURI url)
      • shutdown

        void shutdown​(RedisManager manager)
        终止并关闭一个 RedisManager 实例。
        Parameters:
        manager - RedisManager实例