Package com.kamikazejam.kamicommon.redis
Class RedisAPI
java.lang.Object
com.kamikazejam.kamicommon.redis.RedisAPI
-
Method Summary
Modifier and TypeMethodDescriptiongetState()
boolean
@NotNull RedisChannel
registerChannel
(@NotNull String channel) @NotNull RedisMultiChannel
registerMultiChannel
(@NotNull String... channels) 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
-
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
-
registerMultiChannel
@NotNull public @NotNull RedisMultiChannel registerMultiChannel(@NotNull @NotNull String... channels) -
getCmdsSync
-
getCmdsAsync
-
getConnection
-
getState
-
isConnected
public boolean isConnected()
-