Class RedisAPI

java.lang.Object
com.kamikazejam.kamicommon.redis.RedisAPI

public class RedisAPI extends Object
  • Method Details

    • shutdown

      public void shutdown()
      Stops the internal Redis Connection This API remains usable, but other methods may incur additional delays if the connection needs to be re-established
    • registerChannel

      @NotNull public @NotNull RedisChannel registerChannel(@NotNull @NotNull String channel)
    • registerMultiChannel

      @NotNull public @NotNull RedisMultiChannel registerMultiChannel(@NotNull @NotNull String... channels)
    • getCmdsSync

      public io.lettuce.core.api.sync.RedisCommands<String,String> getCmdsSync()
    • getCmdsAsync

      public io.lettuce.core.api.async.RedisAsyncCommands<String,String> getCmdsAsync()
    • getConnection

      public io.lettuce.core.api.StatefulRedisConnection<String,String> getConnection()
    • getState

      public RedisState getState()
    • isConnected

      public boolean isConnected()