mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-23 04:28:01 +00:00
readd pubsub method until release
This commit is contained in:
parent
e42fcc0d2f
commit
9b01ca21f6
@ -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