net.spy.memcached.protocol.ascii.GetsOperationImpl Maven / Gradle / Ivy
package net.spy.memcached.protocol.ascii;
import java.util.Collections;
import net.spy.memcached.ops.APIType;
import net.spy.memcached.ops.GetsOperation;
/**
* Implementation of the gets operation.
*/
class GetsOperationImpl extends BaseGetOpImpl implements GetsOperation {
private static final String CMD="gets";
public GetsOperationImpl(String key, GetsOperation.Callback cb) {
super(CMD, cb, Collections.singleton(key));
setAPIType(APIType.GETS);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy