net.spy.memcached.protocol.binary.NoopOperationImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spymemcached Show documentation
Show all versions of spymemcached Show documentation
A simple, asynchronous, single-threaded Memcached client written in java.
The newest version!
package net.spy.memcached.protocol.binary;
import net.spy.memcached.ops.NoopOperation;
import net.spy.memcached.ops.OperationCallback;
/**
* Implementation of a noop operation.
*/
class NoopOperationImpl extends OperationImpl implements NoopOperation {
static final int CMD=10;
public NoopOperationImpl(OperationCallback cb) {
super(CMD, generateOpaque(), cb);
}
@Override
public void initialize() {
prepareBuffer("", 0, EMPTY_BYTES);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy