congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CommitLog.rollNextFile
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: apache/rocketmq

public long getMinOffset() {
  MappedFile mappedFile = this.mappedFileQueue.getFirstMappedFile();
  if (mappedFile != null) {
    if (mappedFile.isAvailable()) {
      return mappedFile.getFileFromOffset();
    } else {
      return this.rollNextFile(mappedFile.getFileFromOffset());
    }
  }
  return -1;
}
origin: apache/rocketmq

nextPhyFileStartOffset = this.commitLog.rollNextFile(offsetPy);
continue;
origin: apache/rocketmq

this.reputFromOffset = DefaultMessageStore.this.commitLog.rollNextFile(this.reputFromOffset);
readSize = result.getSize();
origin: didi/DDMQ

public long getMinOffset() {
  MappedFile mappedFile = this.mappedFileQueue.getFirstMappedFile();
  if (mappedFile != null) {
    if (mappedFile.isAvailable()) {
      return mappedFile.getFileFromOffset();
    } else {
      return this.rollNextFile(mappedFile.getFileFromOffset());
    }
  }
  return -1;
}
origin: didi/DDMQ

nextPhyFileStartOffset = this.commitLog.rollNextFile(offsetPy);
continue;
origin: didi/DDMQ

this.reputFromOffset = DefaultMessageStore.this.commitLog.rollNextFile(this.reputFromOffset);
readSize = result.getSize();
origin: org.apache.rocketmq/rocketmq-store

public long getMinOffset() {
  MappedFile mappedFile = this.mappedFileQueue.getFirstMappedFile();
  if (mappedFile != null) {
    if (mappedFile.isAvailable()) {
      return mappedFile.getFileFromOffset();
    } else {
      return this.rollNextFile(mappedFile.getFileFromOffset());
    }
  }
  return -1;
}
origin: org.apache.rocketmq/rocketmq-store

nextPhyFileStartOffset = this.commitLog.rollNextFile(offsetPy);
continue;
origin: org.apache.rocketmq/rocketmq-store

this.reputFromOffset = DefaultMessageStore.this.commitLog.rollNextFile(this.reputFromOffset);
readSize = result.getSize();
org.apache.rocketmq.storeCommitLogrollNextFile

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

  • Finding current android device location
  • startActivity (Activity)
  • getApplicationContext (Context)
  • runOnUiThread (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JButton (javax.swing)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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