コード例 #1
0
 @Override
 public <D extends Document<?>> D remove(
     D document, PersistTo persistTo, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit) {
   return Blocking.blockForSingle(
       asyncBucket.remove(document, persistTo, replicateTo).singleOrDefault(null),
       timeout,
       timeUnit);
 }
コード例 #2
0
 @Override
 public <D extends Document<?>> D remove(
     String id,
     PersistTo persistTo,
     ReplicateTo replicateTo,
     Class<D> target,
     long timeout,
     TimeUnit timeUnit) {
   return Blocking.blockForSingle(
       asyncBucket.remove(id, persistTo, replicateTo, target).singleOrDefault(null),
       timeout,
       timeUnit);
 }
コード例 #3
0
 @Override
 public JsonDocument remove(String id, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit) {
   return Blocking.blockForSingle(
       asyncBucket.remove(id, replicateTo).singleOrDefault(null), timeout, timeUnit);
 }
コード例 #4
0
 @Override
 public <D extends Document<?>> D remove(D document, long timeout, TimeUnit timeUnit) {
   return Blocking.blockForSingle(
       asyncBucket.remove(document).singleOrDefault(null), timeout, timeUnit);
 }