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

net.spy.memcached.protocol.ascii.StoreOperationImpl Maven / Gradle / Ivy

The newest version!
// Copyright (c) 2006  Dustin Sallings 

package net.spy.memcached.protocol.ascii;


import net.spy.memcached.ops.OperationCallback;
import net.spy.memcached.ops.StoreOperation;
import net.spy.memcached.ops.StoreType;

/**
 * Operation to store data in a memcached server.
 */
final class StoreOperationImpl extends BaseStoreOperationImpl
	implements StoreOperation {

	private final StoreType storeType;

	public StoreOperationImpl(StoreType t, String k, int f, int e,
			byte[] d, OperationCallback cb) {
		super(t.name(), k, f, e, d, cb);
		storeType = t;
	}

	public StoreType getStoreType() {
		return storeType;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy