Tabnine Logo
CommitLog.recoverAbnormally
Code IndexAdd Tabnine to your IDE (free)

How to use
recoverAbnormally
method
in
org.apache.rocketmq.store.CommitLog

Best Java code snippets using org.apache.rocketmq.store.CommitLog.recoverAbnormally (Showing top 3 results out of 315)

origin: apache/rocketmq

private void recover(final boolean lastExitOK) {
  long maxPhyOffsetOfConsumeQueue = this.recoverConsumeQueue();
  if (lastExitOK) {
    this.commitLog.recoverNormally(maxPhyOffsetOfConsumeQueue);
  } else {
    this.commitLog.recoverAbnormally(maxPhyOffsetOfConsumeQueue);
  }
  this.recoverTopicQueueTable();
}
origin: didi/DDMQ

private void recover(final boolean lastExitOK) {
  long maxPhyOffsetOfConsumeQueue = this.recoverConsumeQueue();
  if (lastExitOK) {
    this.commitLog.recoverNormally(maxPhyOffsetOfConsumeQueue);
  } else {
    this.commitLog.recoverAbnormally(maxPhyOffsetOfConsumeQueue);
  }
  this.recoverTopicQueueTable();
}
origin: org.apache.rocketmq/rocketmq-store

private void recover(final boolean lastExitOK) {
  long maxPhyOffsetOfConsumeQueue = this.recoverConsumeQueue();
  if (lastExitOK) {
    this.commitLog.recoverNormally(maxPhyOffsetOfConsumeQueue);
  } else {
    this.commitLog.recoverAbnormally(maxPhyOffsetOfConsumeQueue);
  }
  this.recoverTopicQueueTable();
}
org.apache.rocketmq.storeCommitLogrecoverAbnormally

Popular methods of CommitLog

  • <init>
  • appendData
  • calMsgLength
  • checkMessageAndReturnSize
    check the message and returns the message size
  • checkSelf
  • deleteExpiredFile
  • destroy
  • doNothingForDeadCode
  • flush
  • getBeginTimeInLock
  • getConfirmOffset
  • getData
  • getConfirmOffset,
  • getData,
  • getMaxOffset,
  • getMessage,
  • getMinOffset,
  • handleDiskFlush,
  • handleHA,
  • isMappedFileMatchedRecover,
  • load,
  • lockTimeMills

Popular in Java

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • getResourceAsStream (ClassLoader)
  • String (java.lang)
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • JFrame (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now