public CASOperation cas(StoreType type, String key, long casId, int flags, int exp, byte[] data, OperationCallback cb) { return new StoreOperationImpl(type, key, flags, exp, data, casId, cb); }
public StoreOperationImpl(StoreType t, String k, int f, int e, byte[] d, long c, StoreOperation.Callback cb) { super(cmdMap(t), generateOpaque(), k, cb); flags = f; exp = e; data = d; cas = c; storeType = t; }
@Override public void initialize() { prepareBuffer(key, cas, data, flags, exp); }
@Override protected void decodePayload(byte[] pl) { super.decodePayload(pl); ((StoreOperation.Callback) getCallback()).gotData(key, responseCas); }
@Override protected void decodePayload(byte[] pl) { super.decodePayload(pl); ((StoreOperation.Callback) getCallback()).gotData(key, responseCas); }
public StoreOperationImpl(StoreType t, String k, int f, int e, byte[] d, long c, OperationCallback cb) { super(cmdMap(t), generateOpaque(), cb); key=k; flags=f; exp=e; data=d; cas=c; storeType=t; }
public CASOperation cas(StoreType type, String key, long casId, int flags, int exp, byte[] data, OperationCallback cb) { return new StoreOperationImpl(type, key, flags, exp, data, casId, cb); }
@Override public void initialize() { prepareBuffer(key, cas, data, flags, exp); }
@Override protected void decodePayload(byte[] pl) { super.decodePayload(pl); ((StoreOperation.Callback) getCallback()).gotData(key, responseCas); }
public StoreOperationImpl(StoreType t, String k, int f, int e, byte[] d, long c, OperationCallback cb) { super(cmdMap(t), generateOpaque(), cb); key = k; flags = f; exp = e; data = d; cas = c; storeType = t; }
public StoreOperation store(StoreType storeType, String key, int flags, int exp, byte[] data, StoreOperation.Callback cb) { return new StoreOperationImpl(storeType, key, flags, exp, data, 0, cb); }
@Override public void initialize() { prepareBuffer(key, cas, data, flags, exp); }
public StoreOperationImpl(StoreType t, String k, int f, int e, byte[] d, long c, StoreOperation.Callback cb) { super(cmdMap(t), generateOpaque(), k, cb); flags = f; exp = e; data = d; cas = c; storeType = t; }
public CASOperation cas(StoreType type, String key, long casId, int flags, int exp, byte[] data, StoreOperation.Callback cb) { return new StoreOperationImpl(type, key, flags, exp, data, casId, cb); }
@Override public void initialize() { prepareBuffer(key, cas, data, flags, exp); }
public StoreOperationImpl(StoreType t, String k, int f, int e, byte[] d, long c, StoreOperation.Callback cb) { super(cmdMap(t), generateOpaque(), k, cb); flags = f; exp = e; data = d; cas = c; storeType = t; }
public CASOperation cas(StoreType type, String key, long casId, int flags, int exp, byte[] data, OperationCallback cb) { return new StoreOperationImpl(type, key, flags, exp, data, casId, cb); }
@Override public void initialize() { prepareBuffer(key, cas, data, flags, exp); }
public StoreOperationImpl(StoreType t, String k, int f, int e, byte[] d, long c, OperationCallback cb) { super(cmdMap(t), generateOpaque(), cb); key=k; flags=f; exp=e; data=d; cas=c; storeType=t; }
public CASOperation cas(StoreType type, String key, long casId, int flags, int exp, byte[] data, StoreOperation.Callback cb) { return new StoreOperationImpl(type, key, flags, exp, data, casId, cb); }