redis.clients.jedis.AbstractTransaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis;
import java.io.Closeable;
import java.util.List;
public abstract class AbstractTransaction extends PipeliningBase implements Closeable {
protected AbstractTransaction() {
super(new CommandObjects());
}
public abstract void multi();
/**
* Must be called before {@link AbstractTransaction#multi() MULTI}.
*/
public abstract String watch(final String... keys);
/**
* Must be called before {@link AbstractTransaction#multi() MULTI}.
*/
public abstract String watch(final byte[]... keys);
public abstract String unwatch();
@Override public abstract void close();
public abstract List