コード例 #1
0
 /** @deprecated Use acquireAndExecuteMutation instead to avoid timestamp issues */
 @Override
 @Deprecated
 public void acquireAndMutate(final MutationBatch mutation) throws NotUniqueException, Exception {
   acquireAndApplyMutation(
       new Function<MutationBatch, Boolean>() {
         @Override
         public Boolean apply(MutationBatch input) {
           if (mutation != null) input.mergeShallow(mutation);
           return true;
         }
       });
 }
コード例 #2
0
 @Override
 public void acquire() throws NotUniqueException, Exception {
   acquireAndApplyMutation(null);
 }