net.rubyeye.xmemcached.command.VerbosityCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmemcached Show documentation
Show all versions of xmemcached Show documentation
Extreme performance modern memcached client for java
The newest version!
package net.rubyeye.xmemcached.command;
import java.util.concurrent.CountDownLatch;
/**
* Abstract verbosity command for text protocol
*
* @author dennis
*
*/
public abstract class VerbosityCommand extends Command {
protected int level;
public final int getLevel() {
return level;
}
public final void setLevel(int logLevel) {
this.level = logLevel;
}
public VerbosityCommand(CountDownLatch latch, int level, boolean noreply) {
super(CommandType.VERBOSITY, latch);
this.level = level;
this.key = "[verbosity]";
this.noreply = noreply;
}
}