net.spy.memcached.protocol.ascii.MGetsOperationImpl Maven / Gradle / Ivy
The newest version!
package net.spy.memcached.protocol.ascii;
import net.spy.memcached.ops.APIType;
import net.spy.memcached.ops.GetsOperation;
import java.util.Collection;
import java.util.HashSet;
/**
* Operation for retrieving data.
*/
public class MGetsOperationImpl extends BaseGetOpImpl implements GetsOperation {
private static final String CMD = "mgets";
public MGetsOperationImpl(Collection k, Callback c) {
super(CMD, c, new HashSet(k));
setAPIType(APIType.MGETS);
}
}