Esempio n. 1
0
 public void Delete(IEnumerable<RiakObjectId> objectIds, Action<IEnumerable<RiakResult>> callback, RiakDeleteOptions options = null)
 {
     ExecAsync(() => callback(_client.Delete(objectIds, options)));
 }
Esempio n. 2
0
 public void Delete(RiakObjectId objectId, Action<RiakResult> callback, RiakDeleteOptions options = null)
 {
     ExecAsync(() => callback(_client.Delete(objectId.Bucket, objectId.Key, options)));
 }
Esempio n. 3
0
 public void Delete(string bucket, string key, Action<RiakResult> callback, RiakDeleteOptions options = null)
 {
     ExecAsync(() => callback(_client.Delete(bucket, key, options)));
 }
 public Task<IEnumerable<RiakResult>> Delete(IEnumerable<RiakObjectId> objectIds, RiakDeleteOptions options = null)
 {
     return Task.Factory.StartNew(() => _client.Delete(objectIds, options));
 }
 public Task<RiakResult> Delete(RiakObjectId objectId, RiakDeleteOptions options = null)
 {
     return Task.Factory.StartNew(() => _client.Delete(objectId.Bucket, objectId.Key, options));
 }
 public Task<RiakResult> Delete(string bucket, string key, RiakDeleteOptions options = null)
 {
     return Task.Factory.StartNew(() => _client.Delete(bucket, key, options));
 }