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

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

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

origin: apache/rocketmq

public DispatchRequest checkMessageAndReturnSize(java.nio.ByteBuffer byteBuffer, final boolean checkCRC) {
  return this.checkMessageAndReturnSize(byteBuffer, checkCRC, true);
}
origin: apache/rocketmq

long mappedFileOffset = 0;
while (true) {
  DispatchRequest dispatchRequest = this.checkMessageAndReturnSize(byteBuffer, checkCRCOnRecover);
  int size = dispatchRequest.getMsgSize();
origin: didi/DDMQ

public DispatchRequest checkMessageAndReturnSize(java.nio.ByteBuffer byteBuffer, final boolean checkCRC) {
  return this.checkMessageAndReturnSize(byteBuffer, checkCRC, true);
}
origin: apache/rocketmq

long mappedFileOffset = 0;
while (true) {
  DispatchRequest dispatchRequest = this.checkMessageAndReturnSize(byteBuffer, checkCRCOnRecover);
  int size = dispatchRequest.getMsgSize();
origin: apache/rocketmq

  DefaultMessageStore.this.commitLog.checkMessageAndReturnSize(result.getByteBuffer(), false, false);
int size = dispatchRequest.getMsgSize();
origin: didi/DDMQ

boolean isDamaged = false;
while (true) {
  DispatchRequest dispatchRequest = this.checkMessageAndReturnSize(byteBuffer, checkCRCOnRecover);
  int size = dispatchRequest.getMsgSize();
origin: didi/DDMQ

long mappedFileOffset = 0;
while (true) {
  DispatchRequest dispatchRequest = this.checkMessageAndReturnSize(byteBuffer, checkCRCOnRecover);
  int size = dispatchRequest.getMsgSize();
origin: org.apache.rocketmq/rocketmq-store

public DispatchRequest checkMessageAndReturnSize(java.nio.ByteBuffer byteBuffer, final boolean checkCRC) {
  return this.checkMessageAndReturnSize(byteBuffer, checkCRC, true);
}
origin: didi/DDMQ

  DefaultMessageStore.this.commitLog.checkMessageAndReturnSize(result.getByteBuffer(), false, false);
int size = dispatchRequest.getMsgSize();
origin: org.apache.rocketmq/rocketmq-store

long mappedFileOffset = 0;
while (true) {
  DispatchRequest dispatchRequest = this.checkMessageAndReturnSize(byteBuffer, checkCRCOnRecover);
  int size = dispatchRequest.getMsgSize();
origin: org.apache.rocketmq/rocketmq-store

long mappedFileOffset = 0;
while (true) {
  DispatchRequest dispatchRequest = this.checkMessageAndReturnSize(byteBuffer, checkCRCOnRecover);
  int size = dispatchRequest.getMsgSize();
origin: org.apache.rocketmq/rocketmq-store

  DefaultMessageStore.this.commitLog.checkMessageAndReturnSize(result.getByteBuffer(), false, false);
int size = dispatchRequest.getMsgSize();
org.apache.rocketmq.storeCommitLogcheckMessageAndReturnSize

Javadoc

check the message and returns the message size

Popular methods of CommitLog

  • <init>
  • appendData
  • calMsgLength
  • checkSelf
  • deleteExpiredFile
  • destroy
  • doNothingForDeadCode
  • flush
  • getBeginTimeInLock
  • getConfirmOffset
  • getData
  • getMaxOffset
  • getData,
  • getMaxOffset,
  • getMessage,
  • getMinOffset,
  • handleDiskFlush,
  • handleHA,
  • isMappedFileMatchedRecover,
  • load,
  • lockTimeMills

Popular in Java

  • Making http post requests using okhttp
  • setContentView (Activity)
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • CodeWhisperer alternatives
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