Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
readd pubsub method until release
Browse files Browse the repository at this point in the history
ham1255 committed Jun 17, 2024

Verified

This commit was signed with the committer’s verified signature.
ham1255 mohammed
1 parent 4e3abc9 commit 22f505e
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -337,4 +337,22 @@ public RedisBungeeMode getMode() {
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) {
}

}
Original file line number Diff line number Diff line change
@@ -135,6 +135,7 @@ public final void registerPubSubChannels(String... channels) {
* @since 0.3
* @deprecated No longer required
*/

@Deprecated
public final void unregisterPubSubChannels(String... channels) {
}

0 comments on commit 22f505e

Please sign in to comment.