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:
parent
534b30e4f9
commit
077e1c4f3a
@ -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) {
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user