2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-27 08:40:26 +00:00

Update javadocs for Jedis Cluster/Pooled instances

This commit is contained in:
2022-10-30 00:10:56 +04:00
parent 8dc42d071a
commit bc266ae1fa

View File

@@ -410,8 +410,8 @@ public abstract class AbstractRedisBungeeAPI {
} }
/** /**
* This gives you instance of JedisCluster * This gives you an instance of JedisCluster that can't be closed
* WARNING DO NOT USE {@link JedisCluster#close()} it will break the functionally * see {@link com.imaginarycode.minecraft.redisbungee.api.summoners.NotClosableJedisCluster}
* *
* @return {@link redis.clients.jedis.JedisCluster} * @return {@link redis.clients.jedis.JedisCluster}
* @throws IllegalStateException if the {@link #getMode()} is not equal to {@link RedisBungeeMode#CLUSTER} * @throws IllegalStateException if the {@link #getMode()} is not equal to {@link RedisBungeeMode#CLUSTER}
@@ -426,8 +426,8 @@ public abstract class AbstractRedisBungeeAPI {
} }
/** /**
* This gives you instance of JedisPooled * This gives you an instance of JedisPooled that can't be closed
* WARNING: DO NOT USE {@link redis.clients.jedis.JedisPooled#close()} it will break the functionally * see {@link com.imaginarycode.minecraft.redisbungee.api.summoners.NotClosableJedisPooled}
* *
* @return {@link redis.clients.jedis.JedisPooled} * @return {@link redis.clients.jedis.JedisPooled}
* @throws IllegalStateException if the {@link #getMode()} is not equal to {@link RedisBungeeMode#SINGLE} * @throws IllegalStateException if the {@link #getMode()} is not equal to {@link RedisBungeeMode#SINGLE}