29 lines
638 B
Java
29 lines
638 B
Java
package redis.clients.jedis;
|
|
|
|
import redis.clients.jedis.exceptions.JedisException;
|
|
|
|
@Deprecated
|
|
/**
|
|
* This class is deprecated due to its error prone
|
|
* and will be removed on next major release
|
|
* @see https://github.com/xetorthio/jedis/pull/498
|
|
*/
|
|
public abstract class TransactionBlock extends Transaction {
|
|
// For shadowing
|
|
@SuppressWarnings("unused")
|
|
private Client client;
|
|
|
|
public TransactionBlock(Client client) {
|
|
super(client);
|
|
}
|
|
|
|
public TransactionBlock() {
|
|
}
|
|
|
|
public abstract void execute() throws JedisException;
|
|
|
|
public void setClient(Client client) {
|
|
super.setClient(client);
|
|
}
|
|
}
|