Skip to content

Commit

Permalink
readd pubsub method until release
Browse files Browse the repository at this point in the history
  • Loading branch information
ham1255 committed Jun 17, 2024
1 parent 4e3abc9 commit 22f505e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Up @@ -135,6 +135,7 @@ public final void registerPubSubChannels(String... channels) {
* @since 0.3
* @deprecated No longer required
*/

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

0 comments on commit 22f505e

Please sign in to comment.