Package cc.carm.plugin.mineredis
Interface IMineRedis
-
public interface IMineRedis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @NotNull RedisManager
create(@NotNull io.lettuce.core.RedisURI url)
default @NotNull RedisManager
create(@NotNull io.lettuce.core.RedisURI url, @NotNull io.lettuce.core.ClientOptions options)
@NotNull RedisManager
create(@NotNull io.lettuce.core.RedisURI url, @NotNull io.lettuce.core.resource.ClientResources resources, @NotNull io.lettuce.core.ClientOptions options)
@NotNull java.util.logging.Logger
getLogger()
@NotNull RedisManager
getManager()
@NotNull java.lang.String
getServerID()
void
shutdown(RedisManager manager)
终止并关闭一个 RedisManager 实例。void
supplyServerID(@Nullable java.util.function.Supplier<java.lang.String> idProvider)
-
-
-
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)
-
getManager
@NotNull @NotNull RedisManager getManager()
-
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实例
-
-