io.quarkus.redis.runtime.datasource.DefaultRedisPubSubMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-redis-client Show documentation
Show all versions of quarkus-redis-client Show documentation
Connect to Redis in either imperative or reactive style
package io.quarkus.redis.runtime.datasource;
import io.quarkus.redis.datasource.pubsub.RedisPubSubMessage;
public class DefaultRedisPubSubMessage implements RedisPubSubMessage {
private final V payload;
private final String channel;
public DefaultRedisPubSubMessage(V payload, String channel) {
this.payload = payload;
this.channel = channel;
}
@Override
public V getPayload() {
return payload;
}
@Override
public String getChannel() {
return channel;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy