All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.redis.datasource.pubsub.RedisPubSubMessage Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.redis.datasource.pubsub;

/**
 * A structure encapsulating the Redis pub/sub payload and the channel on which the message was sent.
 * This structure is used when using {@link ReactivePubSubCommands#subscribeAsMessages(String...)} and
 * {@link ReactivePubSubCommands#subscribeAsMessagesToPatterns(String...)}
 *
 * @param  the type of payload
 */
public interface RedisPubSubMessage {

    /**
     * @return the payload.
     */
    V getPayload();

    /**
     * @return the channel on which the message was sent.
     */
    String getChannel();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy