2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 18:48:02 +00:00

readd pubsub method until release

This commit is contained in:
mohammed jasem alaajel 2024-06-18 02:13:47 +04:00 committed by Mohammed Alteneiji
parent 534b30e4f9
commit 077e1c4f3a
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() { public static AbstractRedisBungeeAPI getAbstractRedisBungeeAPI() {
return abstractRedisBungeeAPI; 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 * @since 0.3
* @deprecated No longer required * @deprecated No longer required
*/ */
@Deprecated @Deprecated
public final void unregisterPubSubChannels(String... channels) { public final void unregisterPubSubChannels(String... channels) {
} }