congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CommitLog.checkSelf
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: apache/rocketmq

private void checkSelf() {
  this.commitLog.checkSelf();
  Iterator<Entry<String, ConcurrentMap<Integer, ConsumeQueue>>> it = this.consumeQueueTable.entrySet().iterator();
  while (it.hasNext()) {
    Entry<String, ConcurrentMap<Integer, ConsumeQueue>> next = it.next();
    Iterator<Entry<Integer, ConsumeQueue>> itNext = next.getValue().entrySet().iterator();
    while (itNext.hasNext()) {
      Entry<Integer, ConsumeQueue> cq = itNext.next();
      cq.getValue().checkSelf();
    }
  }
}
origin: didi/DDMQ

private void checkSelf() {
  this.commitLog.checkSelf();
  Iterator<Entry<String, ConcurrentMap<Integer, ConsumeQueue>>> it = this.consumeQueueTable.entrySet().iterator();
  while (it.hasNext()) {
    Entry<String, ConcurrentMap<Integer, ConsumeQueue>> next = it.next();
    Iterator<Entry<Integer, ConsumeQueue>> itNext = next.getValue().entrySet().iterator();
    while (itNext.hasNext()) {
      Entry<Integer, ConsumeQueue> cq = itNext.next();
      cq.getValue().checkSelf();
    }
  }
}
origin: org.apache.rocketmq/rocketmq-store

private void checkSelf() {
  this.commitLog.checkSelf();
  Iterator<Entry<String, ConcurrentMap<Integer, ConsumeQueue>>> it = this.consumeQueueTable.entrySet().iterator();
  while (it.hasNext()) {
    Entry<String, ConcurrentMap<Integer, ConsumeQueue>> next = it.next();
    Iterator<Entry<Integer, ConsumeQueue>> itNext = next.getValue().entrySet().iterator();
    while (itNext.hasNext()) {
      Entry<Integer, ConsumeQueue> cq = itNext.next();
      cq.getValue().checkSelf();
    }
  }
}
org.apache.rocketmq.storeCommitLogcheckSelf

Popular methods of CommitLog

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

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • ImageIO (javax.imageio)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top Sublime Text 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