public static bool CasJson(this ICouchbaseClient client, StoreMode mode, string key, object value, ulong cas, DateTime expiresAt) { var json = SerializeObject(value); return(client.ExecuteCas(mode, key, json, expiresAt, cas).Success); }
public static bool CasJson(this ICouchbaseClient client, StoreMode mode, string key, object value, ulong cas, TimeSpan validFor) { var json = serializeObject(value); return(client.ExecuteCas(mode, key, json, validFor, cas).Success); }
public static IStoreOperationResult ExecuteCasJson(this ICouchbaseClient client, StoreMode mode, string key, object value, DateTime expiresAt, ulong cas) { var json = SerializeObject(value); return(client.ExecuteCas(mode, key, json, expiresAt, cas)); }
public static IStoreOperationResult ExecuteCasJson(this ICouchbaseClient client, StoreMode mode, string key, object value, TimeSpan validFor, ulong cas) { var json = serializeObject(value); return(client.ExecuteCas(mode, key, json, validFor, cas)); }