Codota Logo
CommitLog.checkSelf
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
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
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • requestLocationUpdates (LocationManager)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • BoxLayout (javax.swing)
  • JButton (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now