Package org.cloudera.htrace

Examples of org.cloudera.htrace.Span.stop()


    // write them, either to WAL or the index tables
    doPre(indexUpdates, edit, durability);

        // close the span
        current.stop();
  }

  private class MultiMutation extends Mutation {

    private ImmutableBytesPtr rowKey;
View Full Code Here


     * early exit - we have nothing to write, so we don't need to do anything else. NOTE: we don't
     * release the WAL Rolling lock (INDEX_UPDATE_LOCK) since we never take it in doPre if there are
     * no index updates.
     */
    if (ikv == null) {
            current.stop();
      return;
    }

    /*
     * only write the update if we haven't already seen this batch. We only want to write the batch
View Full Code Here

        // again, but in the batch case, we will check it again (see above).
        ikv.markBatchFinished();

                // finish the span

                current.stop();
      }
    }
  }

  /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.