2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 10:38:01 +00:00

readd pubsub method until release

This commit is contained in:
mohammed jasem alaajel 2024-06-18 02:13:47 +04:00
parent 4e3abc97b3
commit 22f505e8a2
Signed by: ham1255
GPG Key ID: EF343502046229F4
2 changed files with 19 additions and 0 deletions

View File

@ -337,4 +337,22 @@ public abstract class AbstractRedisBungeeAPI {
public static AbstractRedisBungeeAPI getAbstractRedisBungeeAPI() {
return abstractRedisBungeeAPI;
}
@Deprecated(forRemoval = true)
public void registerPubSubChannels(String... channels) {
}
/**
* Warning: this is Legacy API to maintain backward compatibility with RedisBungee Pre fork 0.5
* <p>
* Unregister (a) PubSub channel(s).
*
* @param channels the channels to unregister
* @since 0.3
* @deprecated No longer required
*/
@Deprecated(forRemoval = true)
public void unregisterPubSubChannels(String... channels) {
}
}

View File

@ -135,6 +135,7 @@ public class RedisBungeeAPI extends AbstractRedisBungeeAPI {
* @since 0.3
* @deprecated No longer required
*/
@Deprecated
public final void unregisterPubSubChannels(String... channels) {
}