Update javadocs for Jedis Cluster/Pooled instances

This commit is contained in:
mohammed jasem alaajel 2022-10-30 00:10:56 +04:00
parent 8dc42d071a
commit bc266ae1fa
No known key found for this signature in database
1 changed files with 4 additions and 4 deletions

View File

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