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

net.rubyeye.xmemcached.command.VerbosityCommand Maven / Gradle / Ivy

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;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy