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

How to use
compactCleanUp
method
in
org.h2.mvstore.MVStoreTool

Best Java code snippets using org.h2.mvstore.MVStoreTool.compactCleanUp (Showing top 3 results out of 315)

origin: com.h2database/h2

if (dbPath != null) {
  String fileName = dbPath + Constants.SUFFIX_MV_FILE;
  MVStoreTool.compactCleanUp(fileName);
  builder.fileName(fileName);
  builder.pageSplitSize(db.getPageSize());
origin: com.eventsourcing/h2

if (dbPath != null) {
  String fileName = dbPath + Constants.SUFFIX_MV_FILE;
  MVStoreTool.compactCleanUp(fileName);
  builder.fileName(fileName);
  builder.pageSplitSize(db.getPageSize());
origin: org.wowtools/h2

if (dbPath != null) {
  String fileName = dbPath + Constants.SUFFIX_MV_FILE;
  MVStoreTool.compactCleanUp(fileName);
  builder.fileName(fileName);
  builder.pageSplitSize(db.getPageSize());
org.h2.mvstoreMVStoreToolcompactCleanUp

Javadoc

Clean up if needed, in a case a compact operation was interrupted due to killing the process or a power failure. This will delete temporary files (if any), and in case atomic file replacements were not used, rename the new file.

Popular methods of MVStoreTool

  • compact
    Copy all live pages from the source store to the target store.
  • dump
    Read the contents of the file and write them to system out.
  • formatTimestamp
  • getCompressor
  • getPercent
  • info
    Read the summary information of the file and write them to system out.
  • repair
    Repair a store by rolling back to the newest good version.
  • rollback
    Roll back to a given revision into a a file called *.temp.

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Reference (javax.naming)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • IsNull (org.hamcrest.core)
    Is the value null?
  • From CI to AI: The AI layer in your organization
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