Package org.apache.hadoop.io

Examples of org.apache.hadoop.io.ShortVoid


  @Override
  public ShortVoid journal(JournalRequestInfo reqInfo) throws IOException {
    InjectionHandler.processEventIO(InjectionEvent.QJM_JOURNALNODE_JOURNAL,
        conf, this.server.getListenerAddress());
    long startTime = System.currentTimeMillis();
    ShortVoid ret = jn.getOrCreateJournal(reqInfo.getJournalId()).journal(reqInfo,
        reqInfo.getSegmentTxId(), reqInfo.getFirstTxId(), reqInfo.getNumTxns(),
        reqInfo.getRecords());
    if (LOG.isDebugEnabled()) {
      LOG.debug("Time spent in journal: " + (System.currentTimeMillis() - startTime) +
          ". RequestInfo: " + reqInfo.toString());
View Full Code Here

TOP

Related Classes of org.apache.hadoop.io.ShortVoid

Copyright © 2018 www.massapicom. 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.