
io.lettuce.core.protocol.TransactionalCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lettuce-core Show documentation
Show all versions of lettuce-core Show documentation
Advanced and thread-safe Java Redis client for synchronous, asynchronous, and
reactive usage. Supports Cluster, Sentinel, Pipelining, Auto-Reconnect, Codecs
and much more.
The newest version!
package io.lettuce.core.protocol;
/**
* A wrapper for commands within a {@literal MULTI} transaction. Commands triggered within a transaction will be completed
* twice. Once on the submission and once during {@literal EXEC}. Only the second completion will complete the underlying
* command.
*
*
* @param Key type.
* @param Value type.
* @param Command output type.
*
* @author Mark Paluch
*/
public class TransactionalCommand extends AsyncCommand implements RedisCommand {
public TransactionalCommand(RedisCommand command) {
super(command, 2);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy